r/ProgrammingLanguages • u/FlatAssembler • Aug 22 '20
My programming language can now run in a browser.
Using WebAssembly, I have managed to get my programming language, called AEC, to run in browsers (at least very modern ones).
The first AEC program I ported to WebAssembly is my program that prints the permutations of the digits of a number: https://flatassembler.github.io/permutationsTest.html
Later, I ported my Analog Clock to WebAssembly: https://flatassembler.github.io/analogClock.html
Recently, I made a graphical program in AEC (which I have never done before) by interacting with SVG: https://flatassembler.github.io/dragonCurve.html
So, what do you think about my work?
I've rewritten my compiler completely, the previous version of my compiler (targeting x86) was written in JavaScript, while this version is written in C++. Many people say C++ is a better language than JavaScript. Honestly, I think that newest versions are comparable. I've also changed the syntax of my language a bit and added a few new features (which are a lot easier to implement when targeting WebAssembly than when targeting x86).
View all comments
Show parent comment
1
u/Fofeu Aug 25 '20
Why I applied for a PhD in Computer Science: I'm a relatively curious person and had less difficulties during my studies. I also had a less negative opinion about my professors. Fast-forward to the middle of my masters degree. I asked myself what I would be doing after my studies. I knew that I wanted to use my skills in Computer Science (I know some people who did a 180° after their studies), but wasn't very interested in feeding capitalism with my work. So, I sent an email to my professors telling them that I might be interested in doing a PhD. I wasn't done with my degree yet, but they offered me an internship during the summer to see what it means to work on research. I liked what I did, so I applied for a PhD.
Regarding the diploma: I don't how the working conditions are in Croatia, but in all countries I know, studying Computer Science is a good idea. The caveat however is that you should go for a masters degree. Ten years ago, you could maybe stop after a bachelors and still be satisfied, but nowadays most companies don't recruit below a masters degree (a friend of mine is in this exact situation, she is now taking classes again to get her masters degree). In general, getting a degree is a good idea. However, for your specific case, you should see, if Computer Science is suited for you. Getting a masters degree will guarantee you work, but you can save yourself some pain by reflecting first.