If I ever bootstrap a self hosting language, I'd be really tempted to do it in JS or TS.
Not only are JS runtimes widely available, but it'd be way easier to do in-browser playgrounds!
miniblog.
Advice from one of the authors of Common Lisp on PL work: established languages tend to win in their domain. It really helps if you enjoy working in this space.
(There is a ton of PL skill and insight in the smaller languages IME.)
https://pldb.com/posts/scottFalhmanInterview.html
If Twitter isn't available, I will be still be microblogging/tooting at https://mastodon.social/@wilfredh and you can DM me via my blog: https://www.wilfred.me.uk/contact/
I've released difftastic 0.38! In this release:
* Better display of line numbers
* A bunch of display bugs fixed
* Better handling of parse errors in input files
https://github.com/Wilfred/difftastic/releases/tag/0.38.0
Is there any way of doing tagged references in safe Rust?
I've been looking at tagged pointers (the crate https://docs.rs/tagged-pointer/latest/tagged_pointer/ looks excellent) but it gives you back a raw pointer.
I'm not sure if you can create a safe wrapper for references using tagged pointers.
When someone says "you should use the cloud", I'm never sure if they mean:
1: use a virtual server rather than running your own hardware, or
2: use hosted services rather than running your own e.g. database
2 is often surprisingly expensive IME.
Writing docs like characters in a novel: give people a purpose!
https://thenewstack.io/an-engineers-best-tips-for-writing-documentation-devs-love/
One fun side effect of lisp-style syntax: there's always a close token that corresponds to each expression. You can hover unambiguously.
(This tiny web page is at https://pl-toys.surge.sh/ if you want to play with it.)
I don't really understand Rust's `loop {}` syntax. It's syntactic sugar for `while true {}` but it feels odd to have special syntax for this case.
The name `loop` also doesn't imply 'loop with no termination condition' to me (other than break/continue).
Are there any noteworthy lisp dialects that don't have macros?
Macros aren't obligatory, but I'm struggling to think of any good lisp examples that lack them.
Super impressed that the UK government does regular scanning for vulnerabilities for servers based in the UK: https://www.ncsc.gov.uk/information/ncsc-scanning-information
Preventative and good for the overall ecosystem.
A cute project that finds Clojure stdlib functions based on an example input and output: https://borkdude.github.io/re-find.web/?args=2&ret=3
Underrated perk of JSON: it's easy to programmatically make changes to a file made by a human.
Very few other formats have this advantage. `cargo add` took a bunch more implementation work than `npm install`, because preserving TOML comments takes more work.
I write a lot of markdown, so I'm comfortable with the format, but *asterisks* for *italics* still seems strange to me.
I mentally read it as bold, and some mailing list web frontends to the same thing.
@dcreemer@octodon.social I set it up once and I've never needed to fiddle again: it's worked really well.
I also use Tusky on my phone to read toots and respond to folks. I don't want my Mastodon usage to be write only.
Applying different profile guided optimisation techniques to the rust compiler: https://kobzol.github.io/rust/rustc/2022/10/27/speeding-rustc-without-changing-its-code.html
Efficiently sandboxing Firefox by compiling potentially vulnerable libraries to wasm, and then compiling wasm to C! https://hacks.mozilla.org/2021/12/webassembly-and-back-again-fine-grained-sandboxing-in-firefox-95/
On the remarkable inertia of database and programming language choices early in the life of a company: https://brandur.org/fragments/early-tech-decisions
I get a lot of value from tech/PL microblogging as @_wilfredh on Twitter, and often get interesting comments. I'm not sure how much the new CEO will affect that.
I also cross-post to https://mastodon.social/@wilfredh and have interesting discussions there too. Both are worthwhile today.
Showing 61-80 of 384 posts