you are viewing a single comment's thread.

view the rest of the comments →

[–]chickenz[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (3 children)

yeah, i noticed that mr torvaldis is optimistic about it.

but, just because he pretty much invented linux does not mean that he cant make a bad choice about this rust.

i am not saying that he is wrong, i am just saying that he might be.

an example of this might be thomas edison, he invented the light bulb and the phonograph, but then he kinda went out into left field by trying to produce a machine that can allow you to talk to the dead.

regarding the microcontroller issue, for example the arduino... i am not even going to take two minutes to learn how to write rust on an arduino, lol, but i would be really surprised if it doesnt produce a bloated program, ie, i bet that it will consume much more memory and that it will have some kind of limitation that isnt present with the arduino C.

either way, i am not spending two minutes of my time with rust..

my thing right now is i am trying to download emscriptem that allows me to write web assembly, which is C language that runs inside of a browser.. i seriously hope that it does not produce bloated code that takes a shitton of time to load.

web assembly actually allows you to compile several different languages(even rust) and that code can run in a browser(similar to how javascript runs now?) my interest would be to use web assembly to use C language.

edit: wouldnt it be cool if i could write a "chat" program that runs in a browser(similar to saidit's chat) using web assembly? i will only go that route IF IT PRODUCES CODE THAT IS NOT BLOATED AND LOADS FAST.

https://www.youtube.com/watch?v=ojYEfRye6aE

[–]Vulptex 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (2 children)

I hope so too. I hate JavaScript.

Linus Torvalds isn't always right (even though he thinks he's infallible) but he is notorious for having insanely high standards for programming languages. And it's over the same concerns you addressed.

[–]chickenz[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (1 child)

it is odd that i hadnt taken the time to look at web assembly... if it is half as nice as this demo(linked below) then omg.. it loaded really really fast... (and i have a super slow laptop, with shit for hard drive and almost no memory)... so, it doesnt look like bloat or slow load times.

https://callahad.github.io/spinning-cube/

[–]Vulptex 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (0 children)

I just hope it actually works on enough browsers to be usable.