loading...

Discussion on: What is the next big thing in frontend development?

tux0r profile image
tux0r

Of course I have.

Well, if I "have" to write client-side code, I want to have a strongly typed, blazing fast language for that.

Thread Thread
stereobooster profile image
stereobooster Author

ReasonML it is. But it is a bit raw (not ready for production) for my taste

Thread Thread
rhymes profile image
rhymes

But there already are strongly typed languages you can use to write frontend code and V8 (and other VMs are more or less on par) is fast.

You just need to give them a try instead of waiting for the "perfect" solution ;-)

Thread Thread
tux0r profile image
tux0r

I am evaluating Elm (which is not strongly typed AFAICS) as a JavaScript compiler, to be honest...

Thread Thread
stereobooster profile image
stereobooster Author

Strongly typed is ambigious term. Elm is statically typed and from ML family, so it most likely sound system (haven't seen formal proof).

Thread Thread
tux0r profile image
tux0r

Elm solves other problems than C, but - as of today - it is one of the least painful options to write client-side code.

Thread Thread
caseycole589 profile image
Casey Cole

I love javascript, but there have been so many times I wanted to have c to write some custom performant code hacks. I could care less about the types. Having pointers however and not dealing with all these deep cloning hacks and different things would be amazing. Plus would be able to roll my own data structures that are way better that whats built in.

Thread Thread
moreurgentjest profile image
more-urgent-jest

what about elixir and phoenix? they claim some impressive performance.

Thread Thread
rhymes profile image
rhymes

@moreurgentjest well, you can't use them on the frontend. The browsers only understand JavaScript. You might be able to compile some Elixir to WebAssembly but I'm not sure...

BTW Phoenix is a server side framework...