HN user

zengid

2,223 karma
Posts51
Comments586
View on HN
www.tutok.sk 9mo ago

Callbacks in C++ using template functors (1994)

zengid
49pts50
www.youtube.com 2y ago

Tom Maisey – Immutable music: or, the time-travelling sequencer [video]

zengid
1pts1
news.ycombinator.com 2y ago

Ask HN: Adds for Flutter on YouTube?

zengid
1pts0
docs.modular.com 2y ago

Mojo changelog: Traits have arrived!

zengid
18pts11
www.youtube.com 2y ago

The Minds Behind Windows: Raymond Chen [video]

zengid
1pts0
www.youtube.com 2y ago

EuroRust 2023

zengid
1pts0
github.com 2y ago

Rename 'Val' to 'Hylo'

zengid
2pts3
about.sourcegraph.com 2y ago

All You Need Is Cody by Steve Yegge

zengid
5pts1
news.ycombinator.com 3y ago

Ask HN: Intro Course on the Software Business

zengid
2pts0
github.com 3y ago

Drawbacks of adding 'Interfaces with static abstract members' in F#

zengid
3pts1
chromium-cpp.appspot.com 6y ago

C++ Features Banned from Chromium

zengid
1pts0
www.npr.org 6y ago

Uncovering the CIA's Crypto AG operation

zengid
195pts91
blogs.princeton.edu 6y ago

Nesterov’s Accelerated Gradient Descent (2013)

zengid
3pts0
arxiv.org 6y ago

The simple essence of automatic differentiation – Conal Elliott (2018)

zengid
1pts1
www.youtube.com 6y ago

Practical Foundations for Programming Languages – Robert Harper OPLSS2019[video]

zengid
2pts0
news.ycombinator.com 7y ago

Ask HN: Best website building service for selling software

zengid
2pts2
item.warp.net 7y ago

Aphex Twin Speaks to Tatsuya Takahashi (2017)

zengid
288pts71
raphlinus.github.io 7y ago

Secrets of smooth Béziers

zengid
219pts42
news.ycombinator.com 7y ago

Ask HN: Who's the Carl Sagan of Comp Sci?

zengid
2pts5
news.ycombinator.com 7y ago

Ask HN: What are your favorite podcasts?

zengid
5pts3
github.com 8y ago

Microstates: framework agnostic state-machine for JavaScript

zengid
3pts0
medium.com 8y ago

Flutter Studio Web App v2

zengid
2pts1
motherboard.vice.com 8y ago

Explaining Roko's Basilisk: The AI Idea That Brought Musk and Grimes Together

zengid
1pts0
proton-native.js.org 8y ago

Proton Native – React Native for the desktop

zengid
575pts283
www.youtube.com 8y ago

Rewriting Zlib using elegant C++14 (2015)

zengid
2pts0
news.ycombinator.com 8y ago

Ask HN: Making Audio Plugins as a side-gig or hobby

zengid
2pts1
www.khanacademy.org 8y ago

Grant Sanderson (of 3blue1brown) contributes to Khan Academy (2016)

zengid
2pts1
msdn.microsoft.com 8y ago

Lambdas in C# 3.0 (2007)

zengid
2pts1
news.ycombinator.com 8y ago

Ask HN: Would you pay to have tamper-free videos?

zengid
1pts0
course.fast.ai 8y ago

PyTorch based Deep Learning MOOC

zengid
17pts2

I've been thinking a lot about a solution to Rust's notoriously slow compile times. From my research, it's not the borrow checker that is the issue, it's the heavy optimizations and monomorphization, and macro expansion [0]. There are efforts to improve Rust compile times, but I realized recently that it will never be lightning fast, so we (Rust users) should really be developing more scripting languages and DSLs that we can put all of the fiddly bits into.

Places where we would benefit the most from this is in the Games and UI space. I know game devs have already started by integrating lua, like with mlua [1]. In the UI space i think Makepad is the best example of a team making a dedicated DSL that can be hot-reloaded [2].

I think we need more of this! Go make a DSL next time you feel crushed by the weight of compiling Rust crates!

---

[0] and by my research i mean Claude. this is a great blog with many posts about improving compile times https://nnethercote.github.io/

[1] https://crates.io/crates/mlua . I don't have a reference for a project using it though so please reply if you know of one!

[2] https://github.com/makepad/makepad

Quite a footnote [0]:

I do not know if it is me being bored with the project, or annoyed with having to build and design a data structure, that has soured me on this project. But I have really at this point lost most motivation to continue this chapter. The way Zig is designed, it makes me deal with the data structure and memory management complexity head on, and it is tiresome. It is not "simpler" than, say, Rust: it just leaves the programmer to deal with the complexity, <strike-through>gaslighting the user</strike-through> claiming it is absolutely necessary.

[0] https://github.com/asibahi/paella/blob/main/writeup/c19.md#u...

Fast (2019) 12 months ago

you'll execute pretty fast if your back is up against a wall

Ambient Garden 1 year ago

very beautifully done!

I think it would be cool to have an aeolian harp if you feel up for simulating "wind".

Also since you're going into rhythm and are basing this on JI, a integer ratio polyrhythm system is lots of fun to make!

This is really interesting.. does anyone who knows more about Gauss's proof know why you can construct a 5 sided polygon with ruler and compass, but not a 7 or 11 sided polygon? Why do some primes work and others not?

Galois Theory 2 years ago

how hard is it to say "an advanced theory about algebra", instead of downvoting?

Pin 2 years ago

The term “value identity” is not defined anywhere in this post, nor can I find it elsewhere in Mojo’s documentation, so I’m not clear on how Modular claims that Mojo solves the problem that Pin is meant to solve

I don't claim to know the answer either, but it reminds me of a great talk from Dave Abrahams, who worked on the value semantics for Swift together with Chris Lattner (who started Mojo). The talk is "Value Semantics: Safety, Independence, Projection, & Future of Programming" [0]

[0] https://www.youtube.com/watch?v=QthAU-t3PQ4

I cherish this book, its fantastic. I love all of the tidbits about PL history in the margins, and its a great guide through the world of language design.

If you're looking for a follow up, I might have a recommendation. I recently got Essentials Of Compilation by Jeremy G. Siek, and I'm very excited to find some time to read it. There is a version implemented in python and racket (two separate books), so you can pick what you're more comfortable with. (I chose python). Its very elegantly written and after each chapter you end up with a working compiler.