Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maplant
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
maplant
2y ago
From the GitHub page, they provide libz-rs-sys, a zlib-compatible C API for usage in non-Rust applications.
92.
▲
by
maplant
2y ago
Huh, funny this should pop up here. I recently started commuting by subway into work, so I had to pick up a subway book. I had been meaning to read this, so I went to my local book store and grabbed a copy. It’s a really great book. Such a
93.
▲
by
maplant
2y ago
Languages are about trade-offs.
94.
▲
by
maplant
2y ago
Thank you! I’m very proud of the macro expander, so comments like yours are really invigorating and justify the work I put into it
95.
▲
by
maplant
2y ago
Yup. He’s also my GitHub avatar. The idea behind the name is a reference to the language providing the user the maximal set of tools
96.
▲
by
maplant
2y ago
Very cool! I saw a number of projects pretty similar to this one, typed racket for example. I didn’t really talk about it too much but what I want to do is flip the direction. Coalton is based on CL, but what I would like is scheme to essen
97.
▲
by
maplant
2y ago
Not an interpreter! A compiler :-) Have you seen a stack trace originating from somewhere within tokio? Nearly all useful information is lost. My contention is that by isolating the functions that are required to be written in Rust and then
98.
▲
by
maplant
2y ago
I probably should have looked at this talk! Instead my reference was this PhD thesis[1] cited in the R6RS spec. I can’t say I read the whole thing, but my takeaway was to use a system of marks/antimarks. The basic idea is that at the p
99.
▲
Why I'm writing a Scheme implementation in 2025: Async Rust
(maplant.com)
198 points
by
maplant
2y ago
|
86 comments
100.
▲
by
maplant
2y ago
It’s probably simmering, but it also probably boils on occasion. You’re not losing stew anyway, you’re just losing water
101.
▲
by
maplant
2y ago
I'm pretty sure one of the properties of cars is that they can catch on fire (due to all that gasoline, which is famously flammable), so I don't think you should start driving if you want to avoid burning to death
102.
▲
by
maplant
2y ago
Yes, but the article is talking about how YoY crime is down last month, while ridership has _increased significantly this month_, so the crime rater per capita is _significantly_ down.
103.
▲
by
maplant
2y ago
Although mentioned in the article as something Eric Adams has said, that's not actually what the article is talking about - this is comparing subway crimes before and after congestion pricing
104.
▲
by
maplant
2y ago
Uh, not retroactively
105.
▲
by
maplant
2y ago
There is absolutely no way harm reduction was the reason Trump pardoned him.
106.
▲
by
maplant
2y ago
I had no idea this was a campaign promise. Why? I don’t understand.
107.
▲
by
maplant
2y ago
You would think! But no the curved side is the blunt side
108.
▲
by
maplant
2y ago
I’ve disagreed with Drew on many things in the past but this is something with him that I 100% aligned, and I sincerely hope that he is joined by many others at the sit in.
109.
▲
by
maplant
2y ago
I cannot comment on the article - it’s paywalled - but I can talk about the claim in the headline. I can tell from my personal experience that I stopped going because most club shows start earliest at 10 pm, and even then headliner probably
110.
▲
by
maplant
2y ago
I do not have anything to add to this beyond pointing out that it is an incredibly ironic first post for someone who loudly states how much they love capitalism on their about page
111.
▲
by
maplant
2y ago
I wouldn’t call either “state of the art”, it all depends on what you’re doing and what you want to achieve. Many compilers use several different IRs to achieve different things
112.
▲
by
maplant
2y ago
The Bureau of Labor Statistics (Bureau of Labor Statistics, U.S. Department of Labor, 2020, 2018) reported that 39.1% of the civilian workforce in the United States performs physically demanding jobs.
113.
▲
by
maplant
2y ago
Those two functions are indeed missing. However, you can create syntax objects with `syntax-quote`. Again, lots of missing functionality. They shouldn't be hard to implement tho, I just need to add template ids to the transformer. If y
114.
▲
by
maplant
2y ago
Wait, never mind, I did implement syntax objects. So yes, there is syntax case. There are couple of limitations but it mostly works
115.
▲
by
maplant
2y ago
Is this your work Saverio? It’s hosted on your website. If so, could you link to the implementation itself? Would be very interested in looking at it!
116.
▲
by
maplant
2y ago
Good catch!
117.
▲
by
maplant
2y ago
Ah, I meant syntax rules, but syntax case is supported - there’s just no way to create syntax objects so it’s practically not useful. My email is on my website, if you have any other questions feel free to shoot me an email.
118.
▲
by
maplant
2y ago
Sorry, I misread your question. I’m sure it’s possible but this seemed like a good enough implementation for what I needed.
119.
▲
by
maplant
2y ago
This relies on static because the mutation buffer could have types last for the lifetime of the program (imagine if the collector never runs). I am unfamiliar with what you are describing so I cannot answer your second question.
120.
▲
by
maplant
2y ago
This is in the context of implementing a smart pointer that can be used within a interpreter for Scheme
More ›