1kloc is a bit abstract ; it seems you are in a great position to give a true bundled weight ; preact is about 3kb which is my fav for years - good job for the effort and results !
The library is actually ~1400 lines of code, and 51KB in size. Not very slim by JS framework standards, so focusing on that for the headline feels misleading.
We could remove 3kb by removing the router but that's not gonna happen.
You're more than welcome to minify+brotli it yourself if you use vertex.js in production.
I'm very surprised it's *that* short - handling one in rust i'm surprised by the very low amount of code to get that up. Thanks or sharing that was a first time reading some Zig for me !
Looking at the code, I'm not really sure what part of this would be more verbose in Rust. This kernel does close to nothing, not even page table setup.
Granted, the code writing to the VGA buffer will need to be in `unsafe` blocks, but yeah.
Considering that we are talking about experimental toys which have lower odds of seeing production than of you winning a national lottery jackpot, the point of writing it in C would be the same as the point of writing it in anything else - IOW, the kernel is the objective, not the language used to write it.
If you read yourself you'll realize your answer i highly toxic, quiet honestly completely irrelevant, discouraging other people from doing what they like. I would get rid of people with your attitude, you are the kind of problem I don't want to have to deal with and more than that, I don't want to have juniors have to deal with you. Please realize that you had your chance and you played it. Nobody ow you an explanation if you can't even get basics up.
Yeah, but even if I'm doing something for fun I do want to be a bit unique with it. Anyone who's interested enough in osdev to build something for baremetal has at least attempted a unix-like kernel in C
I don't know - i'm 33 ~ now - recently with AI learning is much easier - don't get me wrong I definitely won't say that the brain does not slow down - but I'd definitely argue that we have advantages over kids - be it discipline, knowing how to learn ; and stuff like that - for example let's take coq which is I suppose one of the hardest thing we can learn - you can decompose it in ways myself as a kid or as a 20yo wouldn't even be able to. What I mean is that there is a lot of complexities or stuff i would get stuck upon that I just fly over today and know I'm alright - much better ability to focus in a sense
I wonder if everyone who said it was a lot easier for them to learn when they were younger aren’t factoring in their increased responsibilities as an adult.
I know when I’m actually able to sit quietly to study something, I’m able to pick it up fairly quickly. (One thing going for me is I’m much better able to sit still as an adult than a kid, ha.) But yeah, having to juggle work responsibilities for 8-9 hours a day and then having to also manage a bunch of things I didn’t have to think as hard about when I was younger (bills, cleaning, pets), I definitely just don’t have as much time to dedicate towards focused studying like that.
I feel like this is doomerism with high bias - i'm sorry but there is nothing founded here ; for all I know ; if Zig is able to put only one good reason to be used - some people will use it and not care - however this is a purely logical statement and I do not know of Zig so I might be blind here.
please. I don't understand how the fuck we still don't have p2p social networks and private sharing groups. The amount of possibilities to f* up any kind of control are massive - it's just that we end up writing some convoluted distributed mainframe when all people need is p2prss.
I'm not a c++ user but i'm pretty sure you should be able to pull-off a macro to do that ; in c you could alias the lib for something that breaks + alert ; I don't know how I would integrate such additional compiler checks in rust for other kinds of rules however - it's interesting to think about
I wonder if openbsd is secure running as a guest ? it it able to isolate it-self sufficiently so that the host cannot mathematically breach it ? (which makes openbsd very suitable for keyholding)
reply