Live data from Hacker News

Show HN: An Easy Programming Language That Runs in the Browser

kabas.online

11–20 of 91 posts

Re: Show HN: An Easy Programming Language That Runs in the Browser

#11
What's under the hood?

The source code is parsed to an AST, which is then executed. It began with a Java-Applet. When WebAssembly appeared, I ported it to C++ with a JS/HTML interface and added graphics. Recently I converted the C++ part to C, which halved the size of the wasm file.

Re: Show HN: An Easy Programming Language That Runs in the Browser

#12
post #8

I think there's more value to be had in building better learning resources around programming languages than continually trying to simplify them at the expense of power. Besides that, if someone is already looking for a simple scripting language, Lua already exists. I personally prefer its syntax as well.

A person might make a language so they can learn to make a language. How could Lua exist if a person had no idea the tradeoffs in implementing various languages? You do not know the person's reasons.

You're absolutely correct, and making your own programming language implementations to generally improve as a programmer, for fun, or to get better at implementing programming languages is great. It can become a daunting task very quickly.

I was basing the person's reasoning after the original poster's reply:

> There are so many programming languages - but imho not a real easy one for beginners.

Re: Show HN: An Easy Programming Language That Runs in the Browser

#13
post #4

Impressive! But why?

There are so many programming languages - but imho not a real easy one for beginners.

Python?

Python is really easy to learn and has reached VB levels of snowball network effects.

Re: Show HN: An Easy Programming Language That Runs in the Browser

#19
post #4

Impressive! But why?

There are so many programming languages - but imho not a real easy one for beginners.

Maybe it's because visual development tools work much better for beginners.

There are visual languages that let beginners/non-programmers create real mobile apps, games, business apps with a relatively short learning curve.

But creating a visual language is too much work, it probably requires a large group of people, and there isn't a tool to simplify that process, afaik.

Post reply on HN