4 ms·
Racket: John Carmack’s VRScript Samples (2015)
- staunch 7y agoHe 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 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 7y agoIt's 2019. No software technology officially exists until it's been ported to JavaScript. Don't worry. If you can't do it in JavaScript, do it in Rust. If you can't do it in Rust, it isn't worth doing.
- tosh 7y agorelated: live coding session from Oculus Connect 2 (in 2015): https://www.youtube.com/watch?v=ydyztGZnbNs https://www.youtube.com/watch?v=ydyztGZnbNs previous discussions on the live coding session: https://news.ycombinator.com/item?id=11056973 https://news.ycombinator.com/item?id=11056973 (2016) https://news.ycombinator.com/item?id=10279385 https://news.ycombinator.com/item?id=10279385 (2015)
- leowoo91 7y agoRacket is the language used in the project, I think it should rather be "John Carmack’s VRScript Samples in Racket" for the title.
- jb55 7y agoFor anyone interested in how I gathered these: I noticed a versioning pattern from the snippets he was sharing online. I started poking around and tried to put together a git history of changes by guessing version filenames on oculus' s3 bucket. So if you do `git log --reverse -p c9bd14f361cc4e537425f6d634367415059ad5e3..HEAD` you can see a snapshot of some of his vrscript development
- mathnode 7y agoDo we know if he or the other oculus team members are still using racket?
- mepian 7y agoIf I remember correctly, Facebook told him to drop Racket and use JavaScript instead.
- NeonVice 7y agoAtwood's Law: any application that can be written in JavaScript, will eventually be written in JavaScript.
- andybak 7y agoSounds like a damn shame reading the following: https://www.roadtovr.com/oculus-cto-john-carmack-will-demo-his-vrscript-language-at-connect/ https://www.roadtovr.com/oculus-cto-john-carmack-will-demo-h...
- jimbob45 7y agoI was hoping you'd be wrong :( https://twitter.com/id_aa_carmack/status/807797812700348416 https://twitter.com/id_aa_carmack/status/807797812700348416
- iLemming 7y agoThat'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...
- ericlewis 7y agocan see his office here: https://s3.amazonaws.com/o.oculuscdn.com/v/test/social/avatars/office_john.JPG https://s3.amazonaws.com/o.oculuscdn.com/v/test/social/avata...
- frabert 7y agoI 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...
- algaeontoast 7y agoWhat 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.
- waynecochran 7y agoGood to see Scheme/rkt at work.
- jambutters 7y agoJohn 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 https://youtube.com/watch?v=ydyztGZnbNs
- declank 7y agoTrying 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 https://github.com/jb55/vrscript-samples/blob/master/vr.rkt
- divs1210 7y agoThey 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.