3 ms·
I thought I recognized your user name. I had looked at Conception a little while ago. It's a neat project and I'm looking forward to seeing more of what you do
by moron4hire 12y ago
I thought I recognized your user name. I had looked at Conception a little while ago. It's a neat project and I'm looking forward to seeing more of what you do with it.
Yeah, I have written everything so far in plain JavaScript. I've been considering something else, but all of the available options seem a tad... monolithic.
If I'm going to not-javascript, then I think the answer is to go to something that is completely type safe and static, instead. I'd really like to be able to write-once-and-run-desktop-and-browser. I used to do C++, and now there is Emscripten, but I'd really rather not get back into C++ again. Go looked interesting, and there seems to already be a fair amount of work towards transpiling to JS. Rust looks particularly interesting, especially with the lack of implicit garbage collector, but from the little I've read, it seems Emscripten doesn't work that well with it.
- shurcooL 12y ago> If I'm going to not-javascript, then I think the answer is to go to something that is completely type safe and static, instead. I'd really like to be able to write-once-and-run-desktop-and-browser. I used to do C++, and now there is Emscripten, but I'd really rather not get back into C++ again. I agree completely, about type safe, static types, and not wanting to get back to the mess of C++ (header files, makefiles, ifdefs, complexity, etc.). Which is why I think Go fits the bill so well. > Go looked interesting, and there seems to already be a fair amount of work towards transpiling to JS. There is indeed. I've already done quite a lot with it, but with smaller side projects for now. That's where I gained the confidence and I will work towards applying it to my main projects now. I can link you to https://github.com/shurcooL/play/commit/e53557dd9c070ce0ec5251108249e5fa85333ae0#commitcomment-9101168 https://github.com/shurcooL/play/commit/e53557dd9c070ce0ec52.... You can look at the latest code, it's all in a single main.go file, and it runs great in the browser.
- moron4hire 12y agoAwesome, I'll check it out. You may have just convinced me to pick up Go.
- shurcooL 12y agoGlad to hear it! :) Feel free to ping me with any questions you may run into (like what are best packages to use, or anything else) and I'll happily help out!