[HN Gopher] Solving 100 Project Euler problems using 100 languages
___________________________________________________________________
Solving 100 Project Euler problems using 100 languages
Author : todsacerdoti
Score : 27 points
Date : 2025-01-16 21:59 UTC (1 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| tocs3 wrote:
| I am interested in seeing Verilog used as one of the 100
| languages.I have been wondering how it would be to use some sort
| of hardware description language to solve some of (all?)the
| problems. I worked thru the first half of "Nand to Tetris" [1]
| and thought I might try working some of the problems with that.
|
| [1] https://www.nand2tetris.org/
| 7thaccount wrote:
| I wonder which ones the author liked the most and which they
| disliked the most. I didn't see any comments on that. If they're
| on HN, it'd be cool to find out.
| fuzzythinker wrote:
| It's hard to form a good opinion of a language if the knowledge
| of it is shallow, which I'm inclined to believe based on using
| 100 languages. More interesting is why the author decide to use
| a particular language for each problem.
| middayc wrote:
| The author wrote a short comment about each language in the
| following blogposts:
|
| https://log.schemescape.com/posts/100-languages/index.html
| nekitamo wrote:
| 100 languages and yet not a single use of Rust. The omission
| feels like a statement.
| sramam wrote:
| > using a different--and, ideally, new to me--language for each
| problem
|
| Perhaps this is why?
| nekitamo wrote:
| Ah I missed that part, thank you. The omission comment was
| tongue-in-cheek on my part.
| 420official wrote:
| The author wanted to use languages that were new to them, if
| the author has enough familiarity with rust to have a vendetta
| then it probably isn't new to them.
| NotAnOtter wrote:
| It's hard to make me hate something I've never engaged with and
| yet the Rust community has managed to do it with their
| overzealous love.
|
| It's a language guys. It won't give you a BJ
| jtsiskin wrote:
| To be more inclusive, consider using "it won't go down on
| you" rather than "won't give you a BJ"
| NotAnOtter wrote:
| It won't give anyone a BJ. Independent of if they could
| hypothetically receive one or not.
| elpocko wrote:
| No C++. No C#. No Java. No JS. No Lua. No Brainfuck.
| omoikane wrote:
| I like how the author used four different variants of BASIC.
| hmng wrote:
| From one of the blog posts:
|
| > 8080 assembly (Altair 8800) > > First time I've heard of
| binary-coded decimals
|
| I'm really surprised with that, that someone with such broad
| interests never heard of BCD. I mean, there's is always something
| new to learn all the time, don't get me wrong, nothing to
| criticize, just plain surprised. Wonder if that is just something
| older people came across?
___________________________________________________________________
(page generated 2025-01-16 23:00 UTC)