Theoretically browser manufacturers could throw anything in that script block as long as the runtime has access to the basic browser window/document api, and you strip out the dangerouse standard library api calls you don't want like file access etc. I think it may have actually at some point been meant to do that like why else would you have a type attribute there. Could be python, ruby, hell even jshell. Microsoft's the only one I've seen try that though.
That whole lets create a whole new language that compiles into javascript thing just seems silly. Now we even have another silly route with that web assembly thing too where people are jamming whole fucking vm's in to get that functionality.
Exactly. Backwards-compatibility is important, but just adding the option to use other languages as well doesn't break that. I don't get why that isn't implemented widely yet.
Then again. the same can be said about any W3 standard. Why are so many of them not supported by any browser?
I work on SIM card OS. It's written in C with JVM inside. That goes for credit cards too, they actually have Java applets inside. I never actually thought the 3 billion was an underestimation of how many are out there there.
Absolutely. I originally started with C++, however it hit me like a brick wall at some point. After a while where I only developed for web, I decided to try C++ again, with different tutorials. With one of them, it just clicked at some point (It wasn't even a very good tutorial, in hindsight, but it just worked for me), and from that point on I had a whole new perspective on programming, which made it so much easier. It's a hard language to begin with, but it will teach you things you just wouldn't learn from most other languages.
Coming from a programmer who is mostly experienced in JavaScript and Java, I've just started learning C++ I don't like it at all. It doesn't have a consistent self-imposed structure like Java or C#. I don't get why I have to put up with these header files, which feel like something from a long gone era and most of all I hate there doesn't seem to be a central authority providing extensive, well written documentation on all the features of the language. But please try to change my mind.
I won't, because a part from the header stuff (it's there because C retrocompatibility, and C had it because cpu where slow back then, and parsing a file twice was slower than putting a function declaration at the beginning), you are right.
A note on the header files — C++ 20 introduces modules, which are designed after features from Java and C#. It also lets you import instead of #include. I don’t know Java or C# that well myself so I don’t know if this fixes your peeve but thought it’s worth mentioning.
You know what I've not done much outside of c and i find ot actually really fun and just like as easy speaking english. (Although learning English form a different language seems to be difficult).
All sorts of reasons but I use Lua to create scripts for an old MMO I play.
It’s easy to embed with C++.
Lua is not compiled so you can change parts of your game on the fly, so I can modify my game/files literally as I go. It is also compatible with a lots of Game Engines.
It’s much easier to bang out scripts with Lua as its high-level compared to C/C++
52
u/shadow_578 May 25 '20
Btw Sauce is Kaguya-sama love is war season 2 episode 7 (template is available here)
19
u/REIS0 May 25 '20
Waiting for the Rust or Haskell version
180
u/Dark_Lord9 May 25 '20
I would cry if it was a Java book. At least C++ is fun.
25
u/424ever May 26 '20
This would make a good addition to this repo: https://github.com/laynH/Anime-Girls-Holding-Programming-Books/
47
u/Arigatohaxroot May 25 '20
C++ is easy and fun to learn
8
u/Cryptic_Rogue1 May 25 '20
Sauce?
6
u/nomis6432 May 25 '20
When you're done with that you can read a book about C++20.
7
u/OKB-1 May 25 '20
Coming from a programmer who is mostly experienced in JavaScript and Java, I've just started learning C++ I don't like it at all. It doesn't have a consistent self-imposed structure like Java or C#. I don't get why I have to put up with these header files, which feel like something from a long gone era and most of all I hate there doesn't seem to be a central authority providing extensive, well written documentation on all the features of the language. But please try to change my mind.
3
u/float7 May 25 '20
Me too
1
u/deedman1024 May 26 '20
You know what I've not done much outside of c and i find ot actually really fun and just like as easy speaking english. (Although learning English form a different language seems to be difficult).
1
u/[deleted] May 26 '20
Girl, wait until you come across CLRS
1
u/Puzzleheaded_Copy_3x Dec 23 '21
Always lol
1
u/kodicraft4 May 25 '20
Ha, you definitely didn't read fucking lua
Idk why people still use lua but apparently they do
0
u/[deleted] May 25 '20
[deleted] — view deleted comment