Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
awwsmm
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Code as Art
(awwsmm.com)
64 points
by
awwsmm
2y ago
|
30 comments
2.
▲
by
awwsmm
2y ago
"The human desire to be creative and express one's individuality does not end where a keyboard begins... code can be used as a medium to create art, but it can also be art itself."
3.
▲
by
awwsmm
2y ago
I spent some time over the weekend digging into examples in the Bevy game engine and came across a new-to-me concept: const generics! So I learned what they are, and how they can be used in Rust, and wrote up my findings on my blog. Let me
4.
▲
What Are Const Generics and How Are They Used in Rust?
(awwsmm.com)
4 points
by
awwsmm
2y ago
|
1 comments
5.
▲
by
awwsmm
3y ago
A ZIP code is a U.S. postal code with a well-specified format. Global postal codes, however, are a different story... https://en.wikipedia.org/wiki/List_of_postal_codes
6.
▲
by
awwsmm
3y ago
I found an even older source. Same guy, though https://www.cs.rice.edu/~javaplt/411/23-spring/NewReadings/f...
7.
▲
by
awwsmm
3y ago
That's another flaw in that model, definitely.
8.
▲
by
awwsmm
3y ago
Thanks for sharing this, I was remiss in not including it.
9.
▲
by
awwsmm
3y ago
"In 1700, I was -290 years old."
10.
▲
by
awwsmm
3y ago
Nice work! Now solve the other problem at the end of the article
11.
▲
by
awwsmm
3y ago
"Programming to an interface" is another great topic for a blog post. But yes, you're correct that there are many different ways to model this. Which one is best for your particular use case depends on the details of the prob
12.
▲
Make Invalid States Unrepresentable
(awwsmm.com)
29 points
by
awwsmm
3y ago
|
52 comments
13.
▲
by
awwsmm
3y ago
Having programmed in both for years, I respectfully disagree.
14.
▲
by
awwsmm
3y ago
It has been a huge pain trying to get SDL2 to play nicely with Android / iOS. Would winit / wgpu make this easier?
15.
▲
by
awwsmm
3y ago
I'm only just beginning to scratch the surface with gamedev in Rust, but JS and Rust are quite different languages. Rust is compiled, with strong typing. But once you get the mechanics of compiling to WASM figured out (as I have in thi
16.
▲
Show HN: A minimal working Rust / SDL2 / WASM browser game
(github.com)
82 points
by
awwsmm
3y ago
|
38 comments
17.
▲
What This Senior Developer Learned from His First Big Rust Project
(awwsmm.com)
2 points
by
awwsmm
3y ago
|
1 comments
18.
▲
by
awwsmm
3y ago
Hi all! I'm a senior dev who mostly writes Scala, but is learning Rust. Over the holidays, I decided to take on a larger Rust project to hone my skills. This blog post explains what I learned, and how I plan on writing better Rust code