Live data from Hacker News

Show HN: Han – A Korean programming language written in Rust

github.com

111–120 of 131 posts

Re: Show HN: Han – A Korean programming language written in Rust

#111

I’ve always wondered why there weren’t more non-english charactered programming languages but I can only assume it was just inertia This seems like a reasonably good security measure too

I think another part of it is culture. Outside of Western tech circles there's far less a culture (it feels) to invent new languages. To my knowledge Ruby's Matz is the only notable exception, and he's highly unusual as a Japanese. Then, using non-ascii-friendly character set is an even greater challenge. Non-ascii encodings are harder to program in due to the need to switch in and out of input methods. That said, so…

My colleagues and I wrote a programming language (really just a python wrapper on unicode characters) in cuneiform. The novelty was that we tried as much as possible to use actual mathematical concepts from 3rd (and early 2nd) millennium BCE Mesopotamia. We published it in Sigbovik 2024 (https://www.sigbovik.org/2024/proceedings.pdf) as well as a full neural net implementation using the language.

Re: Show HN: Han – A Korean programming language written in Rust

#112
post #82
post #70

@apt-apt-apt-apt pointed out in a separate comment that: >A simple translation of keywords seems straightforward, I wonder why it's not standard. I replied that for Japanese at least, probably due to symbol input being too tedious. However I think it's worth mentioning a potential mitigation, and maybe even an advantage. As a mitigation, full-width symbols could be used instead, which are typically the default in Jap…

Japanese input system do allow use of arbitrary UTF-8 symbols, but you have to type out the "pronunciation" for symbols, e.g. "nottoiko-ru" for ≠, "goudou" for ≡, "yueni" for ∴, "ramuda" for λ, etc. Just using "!=" is faster.

In case it was not clear, that is exactly my point: a language designed for Japanese could open up the possibility of incorporating symbols other than those readily available on QWERTY keyboards.

And my other point is that != is _harder_ to type in Japanese input mode because you constantly have to manage full-width vs half-width input.

Re: Show HN: Han – A Korean programming language written in Rust

#114
I think is a dumb idea. Historically has been easy to learn programming languages because everyone uses the same things, no fragmention. If now everyone starts creating their own programming languages with different language everything is fragmented, you would to a company, and in the interview they will require you to know korean to work there, they will not be able to hire contractors, you will not be able to see an article about a nice feature on another programming language, and port it...

I suppose is again why I discuss with everyone as I would like to have a single language in the world, it would reduce wars, miscommunications, bound everyone closer. But ofc, the other point of view is that it reduces culture But I think it would happen as UK/US or Spanish, same language with variations, but everyone can understand each other.

I can't imagine what would have happened if Python or JS had been fragmented into X different languages because of egos, and instead of collaborating, decide each to create their own languages. I don't think we would be where we are today, probably AIs would not be around, since we would be fighting to understand so many different programming languages.

Re: Show HN: Han – A Korean programming language written in Rust

#115
post #114

I think is a dumb idea. Historically has been easy to learn programming languages because everyone uses the same things, no fragmention. If now everyone starts creating their own programming languages with different language everything is fragmented, you would to a company, and in the interview they will require you to know korean to work there, they will not be able to hire contractors, you will not be able to see a…

It’s not dumb to create, play, experiment.

The author made some art and came here to share it and discuss craftsmanship, and you replied it with an insult and reviewed it like it’s a business decision steeped in global politics. You missed the point and were mean while doing so.

Re: Show HN: Han – A Korean programming language written in Rust

#116
I don't know Korean but I really appreciate the interesting discussion around linguistics you started here. Some favorite comments that taught me something:

Hangul's phonetic symbolic design: https://news.ycombinator.com/item?id=47382219

Korean plural forms: https://news.ycombinator.com/item?id=47386312

Your comment on how LLM tokenizers shorten common inputs in training data; Korean is more visually compact but suffers from poor token compression: https://news.ycombinator.com/item?id=47381843

Hangul keyboard layout - so cool that the layout is split between consonant and vowel hands and forms rhythmic harmony while typing: https://news.ycombinator.com/item?id=47382081

Re: Show HN: Han – A Korean programming language written in Rust

#117
post #114

I think is a dumb idea. Historically has been easy to learn programming languages because everyone uses the same things, no fragmention. If now everyone starts creating their own programming languages with different language everything is fragmented, you would to a company, and in the interview they will require you to know korean to work there, they will not be able to hire contractors, you will not be able to see a…

Then, what you're going to do is create a new programming language with Esperanto

Re: Show HN: Han – A Korean programming language written in Rust

#118
post #58

Curious about the name — if the language uses Korean (Hangul) keywords, why call it “Han”? In Latin letters that usually reads like the Chinese 汉 (Han) / pinyin rather than Korean. Is there a specific reason for that choice?

It is "韓(Han)" not "汉(Han)" just same pronouns. Currently, The short name of "Korea" in korean is "한국(Hanguk)" it means "Han contry" so all the identity of korea is in "han"

Re: Show HN: Han – A Korean programming language written in Rust

#119

I’ve always wondered why there weren’t more non-english charactered programming languages but I can only assume it was just inertia This seems like a reasonably good security measure too

I'm not sure inertia is correct for this. I think the reason is there are no needs for non-english charactered programming languages. Let's think about there are perfect program language made with Korean. If you are programmer, then you already know program languages made with English even if you are not a native speaker. Now you have to learn "New" program languages. You are native Korean so maybe have some advantage but it is still new thing. If you are not programmer yet. You have to learn program language, in this case most users are already using traditional program languages so you can't skip Python or C or Java.
Post reply on HN