The point on software not taking enough advantage of hardware is on point. I would also like the hardwares(e.g. SSDs) to expose a bit more how they work rather than have another CPU emulating spinning disks.
Obvious and possible software innovations
81–90 of 157 posts
Re: Obvious and possible software innovations
#82> have all the functions described in it turned into reasonably safe FFIed function calls Many langs get close with the ease of importing C headers (Go, Rust, etc), but once you ask for reasonably safe FFI'd calls, you're asking a bit too much since ownership goes out the window. Otherwise, if you mean turned into acceptably-unsafe FFI'd function calls, agree just about every lang with C interfacing built in should h…
Re: Obvious and possible software innovations
#83Earlier quoted context omitted.
Apple could absolutely do it (or Microsoft, or Google, or Amazon) but there’s no justification for it from a business perspective.
fuchsia seems like a solid attempt by goog to write a ground up os
I've read up a bit on seL4, but can't seem to find the rationale or design decisions behind Zircon. Not sure why Google needs to roll their own microkernel when there is a fast, secure, formally verified one they could use.
Re: Obvious and possible software innovations
#84Re: Obvious and possible software innovations
#85Earlier quoted context omitted.
Author belongs to the special class of people who think sounding like a dick makes them more authoritative. All their posts are like that.
> class of people who think sounding like a dick makes them more authoritative It's a writing style. Like it or hate it. Nonetheless, criticisms of writing style are far too cheap and shallow for HN. Be better.
You can't be rude and justify it by saying "it's just my management style" or "it's just my personality".
Re: Obvious and possible software innovations
#86Re: Obvious and possible software innovations
#87> Cloud providers should admit they’re basically mainframes and write an operating system instead of the ad-hoc collection of horse shit they foist on developers. Oh I like this one so much. I love the era and idea of the mainframe. I caught the tail end of it in college. Our research professors would send their statistics jobs over to the mainframe and get the dot matrix printouts back showing what treatments showed…
And yet at the same time, having a super computer in my pocket is spectacularly cool!
Re: Obvious and possible software innovations
#88I only had to read the first few sentences of the first point to see that the author thinks problems are easy because they don't understand the difficulties. Parsing C function prototypes doesn't give you enough information to write safe language bindings. For example if you see "char* make_stuff(const char* param);", you don't know whether the memory pointed to by 'param' can be reused after the function call, or wh…
... and yet, Ada95 managed to include (as part of the standard for the language) the ability to bind to C, C++, Fortran and Cobol. All of which have absurdly different calling conventions and assumptions about memory.
Re: Obvious and possible software innovations
#89I only had to read the first few sentences of the first point to see that the author thinks problems are easy because they don't understand the difficulties. Parsing C function prototypes doesn't give you enough information to write safe language bindings. For example if you see "char* make_stuff(const char* param);", you don't know whether the memory pointed to by 'param' can be reused after the function call, or wh…
My thoughts exactly. For somebody complaining that these tools don't exist because people are too lazy or whatever he himself is too lazy to do a quick google search to see that these tools do exist. I was using SWIG ( http://www.swig.org/ ) 15+20 years ago to bind C/C++ to Perl and Java and it still exists. However your point above stands in that you have to annotate the headers with enough information about memory…
Re: Obvious and possible software innovations
#90> have all the functions described in it turned into reasonably safe FFIed function calls Many langs get close with the ease of importing C headers (Go, Rust, etc), but once you ask for reasonably safe FFI'd calls, you're asking a bit too much since ownership goes out the window. Otherwise, if you mean turned into acceptably-unsafe FFI'd function calls, agree just about every lang with C interfacing built in should h…
I’ve never heard of C function “ownership”. What does it mean?
If you pass a pointer to a function, will it free() it? Or store it somewhere where it will later free it? Can you now free it yourself safely or not?
Same applies to returned pointer values: don't free or must free?