Ask HN: Projects for learning a language?
21–30 of 61 posts
Re: Ask HN: Projects for learning a language?
#22Re: Ask HN: Projects for learning a language?
#23Go and Rust are fairly similar in terms of parallelization and performance. Both are general purpose languages and are great at solving system problems. Choosing a toy project that requires these perks will yield the most satisfying results and enables you to get a good grasp of why those languages exist, and where their differences are.
Both languages empower you to build inter-system applications, both languages are highly performant and both let you build safe and tested programs. A distributed ray tracing engine comes to my mind - it would allow you to let both languages collaborate, compare solutions to problems between the languages and get into the nitty gritty details of memory management, allocations, garbage collection etc.
This would probably be my pick, because you can build and improve it for years if you really want to put the effort in it.
Here's a great primer on that topic - it's still actively developed and made me look at modern ray tracing technology in awe.
Re: Ask HN: Projects for learning a language?
#24Re: Ask HN: Projects for learning a language?
#25I like Larry O'Brien's three-part series, "15 Exercises to Know a Programming Language," [1][2][3] mostly for the overall philosophy ("should be tough enough to require problem solving: try to embrace the language's idioms") and for the rationale that comes with each exercise (e.g. implement this to learn that about your chosen language). Note: the internal links between parts of the series are broken, so here are al…
Re: Ask HN: Projects for learning a language?
#26Advent of code is an interesting set of challenges, with a generally rising set of complexity. There are 6 years worth of 25 challenges. https://adventofcode.com/
In the past I have made a point of doing AOC in a language I didn't know or was planning to learn. Maybe rust this year...?
Re: Ask HN: Projects for learning a language?
#27Games of course! Doesn't have to be fancy with graphics at first but the beauty here is graphics/frontend/UI is definitely on the table if you want to pursue it later. In the same spirit, it's very easy to add features/mechanics to it. Get creative! - Simplest game ever is a number guessing game. Obviously solvable by binary search on the player side. It's like an exciting counterpart for Fibonacci for learning PL fl…