HNHacker News
TopNewBestAskShowJobs

oconnor0

980 karma · joined September 4, 2007

submissionscomments
oconnor0··on Ashet Home Computer
Strange, I was able to sign up from my .family email
oconnor0··on SimpleW – Web Server Library .NET Core
I really wish that Kestrel was available as a standalone library. Kind of like Jetty on the JVM.
oconnor0··on Cwerg: C-like language that can be implemented in 10kLOC
Does that mean you are planning a specific editor for it?
oconnor0··on I've started using Firefox and can never go back to Chrome
Except that Google Drive just doesn't seem to work in Firefox.
oconnor0··on Wrapping Up 2021. Leaving C++
Ada came out of the DOD so assuming it's an all-caps acronym makes a lot of sense. ;)
oconnor0··on Luau goes open-source
> I think that makes it the second (production-ready) language to have a primarily-structural type system

I assume we are talking about a static type system here? Many common "scripting" languages are structurally typed - what Python calls duck typing.

oconnor0··on How Microsoft rewrote its C# compiler in C# and made it open source (2017)
It is interesting to me that I read people criticizing Microsoft for their open sourcing code as doing it for marketing reasons---which seems accurate---but not criticizing Google or Apple or whoever else when they open source code.
oconnor0··on Unix System Programming with Standard ML (2001) [pdf]
What's the problem with the module system and functors?
oconnor0··on Writing a DSL in Lua (2015)
Would you be willing to explain why explicit asynchrony is superior to implicit cooperative threading? Rather than simply engaging in more namecalling.
oconnor0··on OCaml on Baremetal Shakti RISC-V Processor
Ah, maybe, perhaps I am in the minority that liked the different operators for ints and floats. :D
oconnor0··on OCaml on Baremetal Shakti RISC-V Processor
> and not so good at floating point computations

What does this mean? I was under the impression the OCaml compiler did a decent number of floating point specific optimizations, like unboxed arrays and what not.

oconnor0··on Ask HN: What is the best “dumb” phone?
What is the problem with running Android here?
oconnor0··on Using Zig to Provide Stack Traces on Kernel Panic for a Bare Bones OS
I don't think I'd call Rust user friendly.
oconnor0··on Show HN: Gutenberg – A static site engine as a single executable
"Terrible and unoriginal name choice" is probably a little dramatic:

https://github.com/search?utf8=%E2%9C%93&q=gutenberg+static+...

oconnor0··on The Customization Curve
No customization presents a simple tool that, hopefully, just works and can be accepted with its flaws and limitations. Once customization starts being added in, it's easier to see annoyances and "why isn't this feature present".
oconnor0··on C++17 is formally approved
It's significantly easier to be "bad" with C++ than it is to be "bad" with Java.
oconnor0··on Sile – Simon's Improved Layout Engine
The Sile PDF says

> There is no shortcut for boldface, because boldface isn’t good typographic practice and so we don’t want to make it easy for you to make bad books.

Where/what is that from? Like is that common "knowledge"?

oconnor0··on Neo – Desired Word Processor for Authors
What is the process for converting what is written in Quoll into something printable, like a PDF?
oconnor0··on Neo – Desired Word Processor for Authors
Has anyone used (Quoll Writer)[0]?

[0]: https://quollwriter.com/

oconnor0··on Android Is a Dead End
"provides a read-only mirror" sounds like "developed behind closed doors" to me.
oconnor0··on Cicada – Unix shell written in Rust
Oh, bummer, I was really hoping it would support Windows.
oconnor0··on Do 20 pages of a book gives you 90% of its words?
Not if it's a dictionary!
oconnor0··on Show HN: “Crafting Interpreters” chapter, control flow and Turing-completeness
That doesn't explain why they would need a different precedence. `a + b - c` is not the same as `a - b + c` even through the precedence's of + and - are the same (in most syntaxes).
oconnor0··on Julia 0.6 is out
How so?
oconnor0··on How sandboxing works in Fuchsia
You gain the knowledge that a device running Fuchsia is running code that's publicly available.
oconnor0··on Compiler Optimizations are Awesome
> Additionally, the compilers can and do replace algorithms if users let them. Most users don't want it, even if it makes code faster.

What compilers do this? With what algorithms?

oconnor0··on Compiler Optimizations are Awesome
I think one of the issues here is what compiler optimizations encompass. In a language like C or C++, you may be able to write optimal algorithms but end up with poor performance because of memory access. An unoptimized compile puts almost everything on the stack - a = b + c involves two loads, one add, and one store in an unoptimized compile. All of that extra memory access is going to kill performance; even if you have optimal data structures and algorithms.

I see "optimizations are bad/unnecessary/problematic/whatever" in my job writing a compiler. The underlying issue is almost never "I don't want optimizations" - even when someone thinks that's what they want; it's "I don't want optimizations that produce unexpected behavior".

oconnor0··on Viper: a new programming language from Ethereum
Decidability. :) I'd love to see that show up in more languages. I believe it allows for better abstractions without optimization deficiencies because it's all decidable.
oconnor0··on Writing a Very Fast Hash Table with Tiny Memory Footprints
Using a sequence instead of a map is fine if you know it will never be more than some small number of entries, but so often we are wrong about how many entries will be in a table that the N-squared use of a sequence as a map kills performance unexpectedly.
oconnor0··on Build Your Own Text Editor
Regularly? No, but I got https://github.com/oconnor0/build-your-own-editor to the point that I use it for small editing tasks or occasional remote work. I have a few commits that were done entirely in it. I don't think I'd use it over vi except that I wrote it and want to use it. It also has keybindings far closer to what I'm used to in Sublime Text 3.
Page 1 of 10Next →