Settings

Theme

Show HN: Hello, World in many different languages

languages.jdunn.dev

10 points by jdironman 13 days ago · 11 comments · 1 min read

Reader

A small site created to see the hell world example in many different languages. I got tired of sites which only showed 10-30 languages. I'm sure there are some inaccuracies (some languages are not I languages per se).

thesuperbigfrog 13 days ago

https://rosettacode.org/wiki/Hello_world/Newbie is similar.

rosettacode.org also has other tasks: https://rosettacode.org/wiki/Category:Programming_Tasks

  • vunderba 13 days ago

    +1 for Rosetta Stone. This one is a little more succinct FWIW.

    https://rosettacode.org/wiki/Hello_world/Text

    Rosetta Stone's code, by virtue of being a pretty popular community effort, is also very well-vetted. Even when I've tested some of the examples in more obscure langs like Malbolge, they've always worked.

  • jdironmanOP 13 days ago

    That is actually really nice. I'm glad you showed me this! and not sure how I missed this when originally searching. Thanks!

jbreckmckye 13 days ago

    Sorry, you have been blocked
    You are unable to access jdunn.dev

    Why have I been blocked?

    This website is using a security service to protect
    itself from online attacks. The action you just performed
    triggered the security solution. There are several action
    that could trigger this block including submitting a certain 
    word or phrase, a SQL command or malformed data.
  • jdironmanOP 13 days ago

    Ah, sorry about that! I think my cloudflare rules might have been a little too aggressive! You should be able to try again if you want. Thanks for checking it out

vincent-manis 12 days ago

This is great...I would encourage you to add the ability for users to offer new languages. I noticed that Modula-2, PL/I, Trac Language, ALGOL 60, ALGOL68, and Joss/Focal could be added. (ALGOL 60 would be a challenge, as the originally-defined language had no input/output!)

sakanate 13 days ago

Nice work! It's cute and lovely. I would use it to give my students intellectual curiosity.

k-taro56 12 days ago

C# isn’t this verbose. Please STOP giving people the wrong impression.

These days, this is all you need for it to work: ``` Console.WriteLine("Hello, World!"); ```

nhatcher 12 days ago

What about lean?

def main : IO Unit := IO.println "Hello, world!"

Also Coq was renamed to Rocq

kmohee 12 days ago

This is fun! What was the motivation to make this? :)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection