These are chat archives for airbnb/javascript

12th
Sep 2015
Andrey Mikhaylov (lolmaus)
@lolmaus
Sep 12 2015 10:19
@mahanmarwat, I agree that JS is a shitty lang. But it willl never die.
Mahan Marwat
@mahanmarwat
Sep 12 2015 10:20
@lolmaus You must be kidding... Do you know about the web-assembly project.
Andrey Mikhaylov (lolmaus)
@lolmaus
Sep 12 2015 10:21
@mahanmarwat, nope.
Mahan Marwat
@mahanmarwat
Sep 12 2015 10:24
@lolmaus Google it, Web-assembly project aim is to replace the JavaScript and free the developer to use their favorite language on the client side. All broswer wender are agree on this... work is in prograess on GitHub.
Andrey Mikhaylov (lolmaus)
@lolmaus
Sep 12 2015 10:25
@mahanmarwat, what about library compatibility? Will a project written in lang A be able to use a lib written in lang B?
Mahan Marwat
@mahanmarwat
Sep 12 2015 10:27
@lolmaus Web-assembly is actually a binary format, you script will be converted on server side to this binary format before send it to the client side and then browser will interprete the web-assembly binary format. # not sure, it is really working like this :)
@lolmaus No, every lang has to use their own modules...
Andrey Mikhaylov (lolmaus)
@lolmaus
Sep 12 2015 10:29
@mahanmarwat, reading about it. Looks like it is only suitable for low-level performance-critical bits.
Andrey Mikhaylov (lolmaus)
@lolmaus
Sep 12 2015 10:34
@mahanmarwat, so, wasm is not going to oust JS ever. Also, consider JS becoming the most popular platform for server-side web development, even though all other, better languages preexisted.
@mahanmarwat, also you can already use Ruby, Haskell, Scala in the browser. If you hate JS so much, you don't have to use it.
Mahan Marwat
@mahanmarwat
Sep 12 2015 10:40
@lolmaus I am a Python fan and there is a Python implementation called Brython, which is able to run Python code in the browser. But using Brython is just an overhead cuz they are not natively supported, So, slow performace and blah blah...
@lolmaus Bjarne Stroustrup will definitely support his Java sister lang JavaScript. Well people say "if you think Java is a good language, you should definitly learn one another langauge and then you will say no Java is not"