Is JavaScript a good programming language to get into physics? What about an entry level job? Also what are some Sup Forums recommended resources for JavaScript?
Is JavaScript a good programming language to get into physics? What about an entry level job...
Other urls found in this thread:
developer.mozilla.org
discord.gg
deeplearnjs.org
twitter.com
Physics? Don't know but probably not.
Entry level? Maybe a little better than other languages, but about the same.
Resources? CodeSchool, Egghead, MDN
>Is JavaScript a good programming language to get into physics?
You mean, like, physics simulations?
Then no, Javascript is not really good with numbers.
Actually is probably the worst language ever to do numerical computations, JS doesn't even have integers.
read the fucking sticky, you infinitely inept retard
PHYSICS? God no, unless you mean something like babylon or three.js
Entry level jobs? I'd say so, only because there's plenty of need for web dev shit.
Speaking of resourses
for resources
>to get into physics?
No.
>What about an entry level job?
In web dev, sure.
>Also what are some Sup Forums recommended resources for JavaScript?
Get a fucking degree, it's better than nothing.
if you understand the math behind physics yes, you could use to to spread fancy simulations without making anoyone to install a shit,
JS is extremelly fast to do computation
>JS doesn't even have integers.
really you should consider killing yourself do you even know the concept of number in higher level programming? thats why parsing functions exists you son of a bitch very mathematical languages like Matlab and octave uses that approach instead forcing you to use types.
parseInt( 3.1415)
btfo
Hello pajeet :)
lamer.
Eloquent Javascript is the book you want.
btw anons, do how fast do you think would be to use math using webgl in a browser vs cuda or opencl
HAHAHAHAHAHAHAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA
*Inhale*
HAHAHAHAHAHAHAHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA
no
>browsing CS internships for this summer
>ALL of them require knowledge in JS
Guess I’ll self learning this language soon
ES6 its extremelly productive, expressive and clean
You probably want something like C++ with SDL2.
With JS, you spend a lot of time learning shit that is not useful to what you want to do, and the performance is not that good.
C++, Python, Fortran, R, Mathematica
>Then no, Javascript is not really good with numbers.
You can actually do really fast number computations nowadays with TypedArrays, in benchmarks manipulation of them is just 20-30% slower than doing it in C.
developer.mozilla.org
>asking for a scientific computing language
>thinking anything except c++/python/r/matlab/mathematica are acceptable answers
you're not going to crunch data or run simulations in fucking javascript
js will get you some entry level code monkey job like any pajeet language will tho
you can get away with the pajeet combo (c#/java/sql) for CRUD work as well
Join the /wdg/ discord server, there are lots of links to JS books there
fuck off
typeof parseInt(3.1415) === typeof 3.1415
Next time try not to make an idiot out of yourself.
js is the future
in 2020 every single program would be made with Electron
Javascript is something like an addon for web-development.
What makes you think it's good for physics?
Learn python. Or matlab.
man that's really neat, I didn't know javascript had an actual functional typed number system under the hood.
>with Electron
90% of server software made in node.js like
at least 50% of IOT firmware using espruino or jerryscript
95% of apps and desktop software made in webviews (electron, apache cordova, other webkits)
almost all ML frameworks ported to JS using webl instead of cuda deeplearnjs.org
>= ES6 is the perfect language for CS
do you even know basic math and programming ?, you said
>it has no integers
basic modular arithmetic is all your need you
3.1415 % 1 === 0
Javascript as no integers, it as a weird thing called "numbers" that encompasses everything, 1 is not an integer on Javascript, it is a number.
And that kind of thing can deal to a bunch of fucked up results like:
42341244.000000003 % 2 === 0
>true
Sure, you might say, when will I need such levels of precision? Well perhaps for physics simulations, like what OP was talking about. On proper languages, you have neat ways to deal with such big numbers, on javascript you are fucked, because on javascript you don't have proper numerical types, you just have one big blob called 'number' that is supposed to do everything.
Again, please try to not make an idiot out of yourself.
>Number.MIN_VALUE
learn basic math for CS dude.
2000s called, they want their internet slang back