159 karma · joined Feb 19, 2019 (7y ago) · 14 submissions
comment 1y ago · link · parent
With vibe coding, one could even say that you can believe in the computer's intent to write the code and the code working through that intent. You might not even know how the code looks after all.
comment 1y ago · link · parent
Great examples with the tea and the opamp for how a final cause be in the "future" of the effect, I'll remember them for the exam :)
comment 1y ago · link · parent
Imagine you write a small story for fun but then it becomes nearly a religion. It must be a little frustrating for Andy.
comment 3y ago · link · parent
In zig you _can_ actually start with a c codebase and rewrite it file by file in zig and you _can_ include c headers in your zig files verbatim. Both of these are not possible in rust.
This milestone is only gonna remove the c++ (and objective c/c++) compiler for now from zig cc. So while you could argue this will ostracize people rewriting their c++ codebases in zig, I don't imagine there's actually many people like that. EDIT: I just looked at the discussion and there's actually a lot of people that use the c++ capapbilities.
comment 6y ago · link · parent
comment 6y ago · link · parent
// create a word
forth!(: inc 1 + ;);
// ask user for $input
type Stack = forth!($input inc return);
// if you keep the stack around it can be used again
forth!({ Stack } inc .);
// should print $input + 211.
Forth implemented in Rust trait system(github.com ↗)
157 points · by Ashymad · 6y ago · 84 comments
comment 6y ago · link · parent
comment 7y ago · link · parent