HN user

BD103

150 karma

he/him - I program in Rust and Kotlin :)

https://bd103.github.io

Posts7
Comments45
View on HN

On my personal computer, a 2013 MacBook, it uses more like 50 and starts darn near instantaneously.

Just for clarification, do you mean 50 GiB or 50 MiB? I'm assuming MiB in this scenario, since allocating 50 GiB doesn't mix with an instantaneous startup.

VitePress 1.0 2 years ago

Agreed. I built my personal website with Nuxt Content, but I'm not satisfied with it. It forces you to do a lot of things yourself and is definitely targeted towards dynamic websites. Since I am building for Github Pages, I found it quite unintuitive.

I would recommend using VitePress, Zola, Jekyll, or some other tool instead if you need an SSG.

Don't worry, you still can! I've been actively contributing to the past 4 months, working on improving CI and the website. I started out doing PRs for typos and little improvements, and so can you! (I recommend looking for issues marked as "Good-First-Issue," they are the best entry-level things to work on.)

Yup, I remember watching a video about how the RAM bus is the bottleneck when running Super Mario 64 on the N64. The original implementation used trig lookup tables, but the person optimized it by instead using Taylor series (I think) and some negation / shifting.

I would argue that Python does not inhibit this project as much as you imply. There are multiple benefits to Python, such as:

- A built-in dictionary type, used for indexing words

- Clean and easy to read code, which is one of Python's core strengths

- It's fast to draft code in, perfect for toy programs

- Easy async support, which the author comments on

- Plenty of libraries to do the heavy lifting of tasks not focused on by the post, such as hosting a web server, rendering template HTML, and parsing CLI arguments

Yes, Python is not fast relative to C or Rust, but it's perfect for this type of project.

I learned programming through a mixture of Scratch and code.org. Once I "graduated" from those websites, I learned my first professional programming language using W3Schools.

I wouldn't recommend signing up for W3Schools, but the free content is a good enough primer for beginners. (Some of the examples are not idiomatic, though.)

I hope that helps :)

That was the point I wanted to make. I don’t see Apple letting Beeper make money off of a service they don’t run. If the app was open sourced and free then Apple wouldn't really be able to stop it. Apple can definitely sue them as a business, though.

Technically yes, but editions are more like different "flavors" of Rust than actual breaking changes. A 2021 crate is supposed to be able to import a 2018 crate, likewise for 2015 and 2024. Because they all need to work together, edition changes still need to be somewhat compatible with older versions.

Because you can pass closures into functions across crate boundaries, which requires consistent lifetime semantics, I find it unlikely that this will be implemented.