Re:HermitCore-rs – A Rust-based, lightweight unikernel
by vmsp on Tuesday November 13, 2018 @05:52PM
(#18445662)
I'm not familiar with HermitCore but the authors "...promise that this will make it easier to maintain and extend our kernel [originally written in C]." It'd be great if they could elaborate.
[ Parent
| on HN ]
Re:HermitCore-rs – A Rust-based, lightweight unikernel
by BagOfPistchios on Tuesday November 13, 2018 @06:47PM
(#18445982)
It may or may not be easier to "maintain and extend" a Rust implementation, but it will surely be even easier to find people to do those things if they keep it in C.
EDIT: Rephrased the sentence
Re:HermitCore-rs – A Rust-based, lightweight unikernel
by bytematic on Tuesday November 13, 2018 @07:01PM
(#18446066)
I don't know about that, they teach C at pretty much every reputable University in america
Re:HermitCore-rs – A Rust-based, lightweight unikernel
by BagOfPistchios on Tuesday November 13, 2018 @07:25PM
(#18446220)
That was my point - a lot more people know C
Re:HermitCore-rs – A Rust-based, lightweight unikernel
by pornel on Tuesday November 13, 2018 @08:12PM
(#18446502)
There's quantity, but what about quality? Whenever there's a vulnerability found in a C program, its authors are dismissed not real C programmers (since a real programmer would know to avoid buffer overflows and dangling pointers).
Apart from DJB, is there any other real C programmer? ;)
Re:HermitCore-rs – A Rust-based, lightweight unikernel
by geezerjay on Wednesday November 14, 2018 @01:55AM
(#18448081)
> Whenever there's a vulnerability found in a C program, its authors are dismissed not real C programmers (since a real programmer would know to avoid buffer overflows and dangling pointers).
This was the first time ever I've heard of such a thing.
Re:HermitCore-rs – A Rust-based, lightweight unikernel
by stcredzero on Tuesday November 13, 2018 @07:33PM
(#18446269)
And yet, I interview recent Comp Sci grads from upper tier University of California schools with 3.75 and above GPAs who try and tell me that a null pointer in a struct takes up zero memory. Then, when I ask them to correct themselves, I sometimes find out they have no idea how much data a pointer takes up.
Re:HermitCore-rs – A Rust-based, lightweight unikernel
by Thiez on Tuesday November 13, 2018 @07:54PM
(#18446397)
Well, that is implementation defined, surely the only reasonable answer here is `sizeof(void * )` chars... where a `char` is probably 8 bits.
Re:HermitCore-rs – A Rust-based, lightweight unikernel
by stcredzero on Tuesday November 13, 2018 @08:39PM
(#18446661)
Or, they could ask if they are on a 32 bit or 64 bit system. They don't have to be absolutely pedantically correct. They just need to demonstrate they have a clue, as opposed to none.