Introduction to Rust-lang

Rust is a compiled, statically-typed, non-garbaged collected systems programming language. An initiative by Mozilla, it has attracted a lot of traction lately because of its blazing fast speed and the high level abstraction(as the rust-lang page says “Zero cost abstractions”).

Read Time ~10 mins.
Continue reading

Elm-Lang : Client side functional programming

Elm is a client side pure functional programming language for programming. Elm code compiles down to HTML, CSS and Javascript. The introduction page mentions it being a competitor to React.

Elm is a functional language that compiles to JavaScript. It competes with projects like React as a tool for creating websites and web apps.

Dont just dismiss this as Yet another language that transpiles to JS. Elm has a lot of nifty features, that makes it a choice worth considering.

Continue reading

All you need to know about HTTP/2

HTTP/2 is the largest change in Hyper text transfer protocol after almost 16 years. Being a major version upgrade from HTTP/1.1, there has been a lot of discussion around it.

HTTP/2 is a binary protocol highly inspired from Google’s SPDY, It brings improvements over older version of HTTP in terms of security(by proposing an explicit TLS profile) , speed and simplicity. HTTP/2 can be used both on TLS and TCP More details, but most browsers only support it over TLS.

Major additions in HTTP/2

Continue reading

Getting Started with Unity Animations

Animations are a crucial part of any unity project. In this post we explore the various method of animating game objects in unity.

Most common ways to achieve animation in unity –

  • Animation View  – This allows you to view/edit animation inside unity and apply them on game objects.
  • Animator(Mecanims) – Animator allows user to define animation as a state machine. Transition between animation can be either scheduled or done programmatically.
  • External Modeling tools – Make animations in external tools and import them as asset in unity.(I am not going to talk about this much)

Continue reading

Flux Server Interaction Approaches

Flux is awesome, React combined more so.

I have been working with flux and react for a while now. Some of the problems that i faced were around server interaction. Facebook hasn’t talked much about it, the documentation gives no guidelines, except a mention of interaction must be done through action creators.

So i trolled around internet for exloring what other developers have adopted, to find some best practices and solutions to problems i encountered while building react+flux apps.

yP2gv-700

Continue reading

Laravel Elixir: Cakewalk frontend build configuration

As a frontend developer, you would be accustomed to using task runners like grunt or gulp.

Task runner automate the usually tasks like concatenation, minification, trans-compiling etc. Chances are you even wrote the configuration files for your task runners. If you have written or seen such configuration, you would agree its a tedious task. Finding out which task to run and then configuring the input output directories and what not.

Recently i was exploring laravel and php, and for frontend automation the docs referred to –

    Laravel-elixir

Continue reading

Why you should care about typescript?

Javascript is being used to develop apps which are getting more and more complex and run on device spanning from web, mobile to PCs. Javascript (as the name suggest) is a scripting language. This means it lacks the usual constructs used to structure large application like – modules, classes and interfaces.

Also without the love of static typing developers usually face long cryptic runtime errors which are hard to understand and debug.

“Enters TypeScript.”

Continue reading