Racket: John Carmack’s VRScript Samples (2015)(github.com)
github.com
Racket: John Carmack’s VRScript Samples (2015)
https://github.com/jb55/vrscript-samples
25 comments
Do we know if he or the other oculus team members are still using racket?
If I remember correctly, Facebook told him to drop Racket and use JavaScript instead.
I was hoping you'd be wrong :(
https://twitter.com/id_aa_carmack/status/807797812700348416
https://twitter.com/id_aa_carmack/status/807797812700348416
That's not just sad, it is really strange. Seems enterprise would never learn from the mistakes of the past. Javascript is new Java - it's getting bigger every year, its syntax almost confusing and often feels inconsistent, sometimes it doubtlessly does utterly stupid things.
Most experienced developers dislike the language. Beginner developers also find it confusing. Days of low barrier entry to JS are long gone.
Clojurescript, Elm, ReasonML, Purescript, etc. there are multiple better options. Yet instead of embracing PLs that can fix many of the drawbacks, big enterprise keeps insisting on it. Sigh...
Most experienced developers dislike the language. Beginner developers also find it confusing. Days of low barrier entry to JS are long gone.
Clojurescript, Elm, ReasonML, Purescript, etc. there are multiple better options. Yet instead of embracing PLs that can fix many of the drawbacks, big enterprise keeps insisting on it. Sigh...
> That's not just sad, it is really strange
Doesn't seem strange at all for a company pushing a technology for mass adoption to choose one of the most common languages which possibly has the most eyes in the world on its performance metrics, keep in mind VR has to hit framerates up to 90fps.
Doesn't seem strange at all for a company pushing a technology for mass adoption to choose one of the most common languages which possibly has the most eyes in the world on its performance metrics, keep in mind VR has to hit framerates up to 90fps.
Facebook has already made that mistake with PHP. They are still paying the hefty price for that. Language popularity at a given time doesn't guarantee a higher ROI in the future. For the next couple of decades, CS experts will be debating over languages that optimized for programmer's productivity, optimized for performance and languages that offer correctness (probably via type systems and other mechanisms). Javascript today doesn't fit any of these categories, and although it is quickly evolving, it still hasn't shifted towards any of those sides. It has become more performant than initially, but yet not fast enough (e.g.: for native apps). Sadly the story is old, happened many times - happened to Joe Armstrong and Erlang at Ericson, that happened at MIT when they switched from Scheme to Python. It happens whenever companies ignore their engineers and arguments they make, but eagerly listen to their Marketing and Sales teams.
Honestly, I would love to see faces of those stupid imbeciles who after hearing all John Carmack's arguments that tool X is making him very productive, later tell him that he cannot use that tool.
Honestly, I would love to see faces of those stupid imbeciles who after hearing all John Carmack's arguments that tool X is making him very productive, later tell him that he cannot use that tool.
Atwood's Law: any application that can be written in JavaScript, will eventually be written in JavaScript.
Sounds like a damn shame reading the following: https://www.roadtovr.com/oculus-cto-john-carmack-will-demo-h...
I can't get these to run with Racket v7.2.0.3. Undefined functions are called that are not in the code in your repo. For example: set-local-client-state!
Racket is the language used in the project, I think it should rather be "John Carmack’s VRScript Samples in Racket" for the title.
can see his office here: https://s3.amazonaws.com/o.oculuscdn.com/v/test/social/avata...
He also did a live coding demo showing off this VR scripting concept. Having such a fast iteration cycle is very compelling. Hopefully at least some Javascript version of this will exist, even though this seems like a perfect application for a Lisp.
https://www.youtube.com/watch?v=ydyztGZnbNs
I wish he did live coding. Jonathan Blow's Twitch channel (naysayer88) is very compelling. Carmack's would be as well.
https://www.youtube.com/watch?v=ydyztGZnbNs
I wish he did live coding. Jonathan Blow's Twitch channel (naysayer88) is very compelling. Carmack's would be as well.
bitwize(2)
related:
live coding session from Oculus Connect 2 (in 2015): https://www.youtube.com/watch?v=ydyztGZnbNs
previous discussions on the live coding session:
https://news.ycombinator.com/item?id=11056973 (2016)
https://news.ycombinator.com/item?id=10279385 (2015)
live coding session from Oculus Connect 2 (in 2015): https://www.youtube.com/watch?v=ydyztGZnbNs
previous discussions on the live coding session:
https://news.ycombinator.com/item?id=11056973 (2016)
https://news.ycombinator.com/item?id=10279385 (2015)
I initially read the title as "John Carmack's VBScript Samples" and I was very perplexed as to when would have John Carmack ever had to mess around with that...
They are switching to JS from Racket, which is a shame.
It would be great if one could just do
#lang javascript
and use the same stuff. Truffle/Graal is a much better and complete and performant alternative to Racket now for implementing languages. You write a normal AST interpreter and add annotations for optimizations.
#lang javascript
and use the same stuff. Truffle/Graal is a much better and complete and performant alternative to Racket now for implementing languages. You write a normal AST interpreter and add annotations for optimizations.
Trying to explore gamedev in Racket myself so cool to see the matrix related stuff in https://github.com/jb55/vrscript-samples/blob/master/vr.rkt
What was the general idea / purpose behind these scripts? I never thought I'd be interested in looking at Racket again after my undergrad at NEU.
John wanted racket to be the main scripting language for vr apps that are lightweight and don't need a lot of horsepower. https://youtube.com/watch?v=ydyztGZnbNs
Good to see Scheme/rkt at work.
So if you do `git log --reverse -p c9bd14f361cc4e537425f6d634367415059ad5e3..HEAD` you can see a snapshot of some of his vrscript development