3 ms·
openai as a compiler in the browser would be interesting
by 8eye 5y ago
openai as a compiler in the browser would be interesting
- cxr 5y agoHow about just starting with "a compiler in the browser"? From [1]: > the web was first built in the 90s to share complicated academic work People complain a lot about the results of research not being replicable because people withhold their code when they publish, but the fact is that even then it's not guaranteed that anyone will be able to get it to work. Heck, there are plenty of run-of-the-mill software projects (not associated with research) with build processes that aren't replicable without substantial effort in making sure the appropriate toolchain is available and configured for your system. apt-get build-dep is nice and all, but it only goes so far. You'd think that we would have recognized by now that in addition to it being good hygiene to include a project README, a tremendous boon to productivity would result if everyone got on board with also including a document that captured the _exact_ process for transforming source into a binary (or whathaveyou), so you could just drop it into a UVC[2] and get said binary out. Not even mainstream JS programmers (largely writing software that is meant to be interacted with from a web browser!) get this right[3]. Modern JS has managed to grow its own body of implicit knowledge centered around SDKs and setup rituals[4] just like everyone else. 1. http://benschmidt.org/post/2020-01-15/2020-01-15-webgpu/ http://benschmidt.org/post/2020-01-15/2020-01-15-webgpu/ 2. https://scholar.google.com/scholar?hl=en&as_sdt=0%2C44&q=universal+virtual+computer&btnG= https://scholar.google.com/scholar?hl=en&as_sdt=0%2C44&q=uni... 3. https://www.colbyrussell.com/2019/03/06/how-to-displace-javascript.html https://www.colbyrussell.com/2019/03/06/how-to-displace-java... 4. https://news.ycombinator.com/item?id=24495646 https://news.ycombinator.com/item?id=24495646