News for hackers. Stuff that matters.
Re:Oak: A more portable alternative to C, powered by Brainfu... by isoprophlex on Sunday July 26, 2020 @09:06AM (#23956781)
> About the Author

> I'm a freshly minted highschool graduate and freshman in college looking for work.

Jesus fuck that's impressive. At that age my mind was on being bad at skateboarding, casual arson and trolling pre-2000 online places

Re:Oak: A more portable alternative to C, powered by Brainfu... by algorithmsRcool on Sunday July 26, 2020 @02:15PM (#23958959)
I'm pretty astounded by his productivity!. This isn't even his first programming language.

https://github.com/adam-mcdaniel/free

https://github.com/adam-mcdaniel/xasm

https://github.com/adam-mcdaniel/tsar

Re:Oak: A more portable alternative to C, powered by Brainfu... by Uptrenda on Sunday July 26, 2020 @02:49PM (#23959209)
Well said. His work seems to have some elegant ideas. Imagine what he will be doing when he's finished college. Some people are truly brilliant.
Re:Oak: A more portable alternative to C, powered by Brainfu... by Tallasatree on Sunday July 26, 2020 @02:55PM (#23959258)
I suspect he'll be figuring out more new and unique ways to serve us ads.

edit: and that's no knock on this kids skills / talents!

Re:Oak: A more portable alternative to C, powered by Brainfu... by mofosyne on Monday July 27, 2020 @10:45AM (#23965542)
Then it's on us to make sure that society can provide opportunities beyond putting the best minds of our generation into generating more clicks.
Re:Oak: A more portable alternative to C, powered by Brainfu... by mhh__ on Monday July 27, 2020 @09:40AM (#23964970)
I was working on a compiler for money during my first weeks of university (last year) and if I'm being honest it nearly ruined my entire year because I was completely on the back foot socially.

Combine that with a catastrophic sleep problem and you're in a rough time, in my case.

Re:Oak: A more portable alternative to C, powered by Brainfu... by sreekotay on Sunday July 26, 2020 @07:37AM (#23956311)
Excellent and fun project. Error handling seems light... especially at runtime, but for a toy, its cool. Hard to argue its more portable than C until it can self host though.
Re:Oak: A more portable alternative to C, powered by Brainfu... by Ericson2314 on Sunday July 26, 2020 @02:19PM (#23958981)
The best comparison is the popularity of forth in small resource-constrained situations.
Re:Oak: A more portable alternative to C, powered by Brainfu... by jfim on Sunday July 26, 2020 @07:21AM (#23956237)
Not to be confused with Oak [0], the precursor of the Java programming language.

[0] https://en.m.wikipedia.org/wiki/Oak_(programming_language)

Re:Oak: A more portable alternative to C, powered by Brainfu... by k__ on Sunday July 26, 2020 @09:46AM (#23957009)
Not to be confused with JavaScript, whoms percursor LiveScript should not be confused with LiveScript which was a successor of CoffeeScript, a Ruby inspired counterpart of JavaScript.
Re:Oak: A more portable alternative to C, powered by Brainfu... by masswerk on Sunday July 26, 2020 @11:56AM (#23957976)
LiveScript is JavaScript, "JavaScript" was just a rebranding in a joint Sun-Netscape marketing effort, while other Netscape technology stuck to the "Live…" naming scheme, as in LiveWire or LiveBridge. When there was still a language attribute to script tags, "LiveScript" was happily accepted as a synonym for "JavaScript" (or, rather, the other way round).
Re:Oak: A more portable alternative to C, powered by Brainfu... by k__ on Sunday July 26, 2020 @01:38PM (#23958674)
I know. There are two LiveScripts.
Re:Oak: A more portable alternative to C, powered by Brainfu... by jmercouris on Sunday July 26, 2020 @12:09PM (#23958059)
Livescript was not a successor of CoffeeScript.
Re:Oak: A more portable alternative to C, powered by Brainfu... by jsd1982 on Sunday July 26, 2020 @03:04PM (#23959320)
> Every instruction operates on a memory tape. This tape is essentially a static array of double-precision floats.

Why doubles? I would think integers are the more primitive type.

Re:Oak: A more portable alternative to C, powered by Brainfu... by undefuser on Monday July 27, 2020 @01:02AM (#23962371)
Probably because floats can represent ints, but not the other way around?
Re:Oak: A more portable alternative to C, powered by Brainfu... by jiofih on Sunday July 26, 2020 @08:50AM (#23956709)
Having it written and distributed in Rust kind of defeats the whole “compact” sales pitch, as you now have to download a couple gigabytes to try it out...
Re:Oak: A more portable alternative to C, powered by Brainfu... by kroltan on Sunday July 26, 2020 @09:19AM (#23956861)
> you now have to download a couple gigabytes

You... don't?

Default installation size of the Rust toolchain is about 800mb extracted to disk, way less so of downloading.

Hardly an inordinate filesize for a development toolchain. For example, MSYS is 950mb just for the C++ toolchain. You might shave a lot on Linux thanks to package reuse, but "conceptually" it would be about the same size, just that in practice you start with some parts downloaded.

Re:Oak: A more portable alternative to C, powered by Brainfu... by steveklabnik on Sunday July 26, 2020 @10:42AM (#23957387)
They may be referring to the Windows MSVC target, where you have to install the C++ build tools to get access to link.exe.

... that being said, if they distributed a binary, you wouldn’t need any of that, too.

Re:Oak: A more portable alternative to C, powered by Brainfu... by rsstack on Sunday July 26, 2020 @07:47AM (#23956356)
I thought this was going to be a troll post that links to Ook: https://esolangs.org/wiki/ook!