6 ms·
Jai also leans very heavily into this I believe.
by wisnoskij 4y ago
Jai also leans very heavily into this I believe.
- schaefer 4y agoCan we get Jai compilers yet? Or is it still for in-house use only?
- eddsh 4y agoWhat's Jai?
- P5fRxh5kUvp2th 4y agoIt's a language written by Jonathan Blow, meant to replace C++ for game development. reportedly his game "The Witness" was written in it. He has a series of video's where he explores what the language will look like as he's developing it, and has claimed he'll open source it once he feels it's ready. He wants to maintain control until he feels it's no longer half-baked. IIRC, he demonstrates things like a music player running during compile time. It's a core tenet of his language.
- zem 4y agoplaying the jeopardy tune during long compilations would be awesomely hilarious (:
- memco 4y ago> He has a series of video's where he explores what the language will look like as he's developing it Probably the best place to see it in it's current form is his development streams on Twitch: https://www.twitch.tv/j_blow https://www.twitch.tv/j_blow. Right now the most active streamer besides Jon is Raphael, who does a lot of work on the Jai compiler: https://www.twitch.tv/raphael_luba https://www.twitch.tv/raphael_luba. Sadly, the other people I know who stream their work with it haven't been streaming much lately.
- panzi 4y ago> reportedly his game "The Witness" was written in it. No that was still written in C++. The new game that he's working on is written in Jai.
- P5fRxh5kUvp2th 4y agoI must have gotten my wires crossed.
- memco 4y agoIt is in private beta. You can send an email to request access. I'm not sure of the frequency or percentage of requests that are accepted, but I have seen some people get added over time.
- WalterBright 4y agoJai allows compile time execution of system calls. We (the D team) considered this, and rejected it because we didn't want users to be worried that there'd be some malicious source code that could delete their file system if they just ran it through the compiler.
- ghoward 4y agoNot GP. I agree with this, but there may still be times when it is needed. I'm working on a system where users can run a build in an interpreter that kills the build if it tries to do anything they don't allow. An important and trusted project that needs a special permission will probably be allowed to do that, but random packages? Not at all.
- WalterBright 4y agoThe trouble is, malicious people can be very clever at evading such protections. We didn't want to get into an arms race with them. I'm old enough to remember ActiveX.
- mhh__ 4y agoThey can, but this is a trillion dollar problem (cloud) now so it's harder than you might imagine
- ghoward 4y agoI think you meant to reply to me, not Walter Bright. And yes, this is a trillion dollar problem. I may be just some bloke with an idea, trying to make it happen. However, I have the free time to try, so why not?
- mhh__ 4y agoI meant to reply to Walter, he isn't a server guy so be probably isn't familiar with how modern systems defend against this problem.