Better HN
topnewbestaskshowjobs
Log inSign up

oconnor0

980 karma · joined Sep 4, 2007 (19y ago) · 309 submissions

Submissions

comment 1y ago · link · parent

Strange, I was able to sign up from my .family email

comment 1y ago · link · parent

I really wish that Kestrel was available as a standalone library. Kind of like Jetty on the JVM.

comment 2y ago · link · parent

Does that mean you are planning a specific editor for it?

comment 4y ago · link · parent

Except that Google Drive just doesn't seem to work in Firefox.

comment 4y ago · link · parent

Ada came out of the DOD so assuming it's an all-caps acronym makes a lot of sense. ;)

comment 5y ago · link · parent

> 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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

What's the problem with the module system and functors?

comment 6y ago · link · parent

Would you be willing to explain why explicit asynchrony is superior to implicit cooperative threading? Rather than simply engaging in more namecalling.

comment 7y ago · link · parent

Ah, maybe, perhaps I am in the minority that liked the different operators for ints and floats. :D

comment 7y ago · link · parent

> 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.

comment 7y ago · link · parent

What is the problem with running Android here?

comment 7y ago · link · parent

I don't think I'd call Rust user friendly.

comment 9y ago · link · parent

"Terrible and unoriginal name choice" is probably a little dramatic:

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

comment 9y ago · link · parent

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".

comment 9y ago · link · parent

It's significantly easier to be "bad" with C++ than it is to be "bad" with Java.

comment 9y ago · link · parent

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"?

comment 9y ago · link · parent

What is the process for converting what is written in Quoll into something printable, like a PDF?

comment 9y ago · link · parent

Has anyone used (Quoll Writer)[0]?

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

comment 9y ago · link · parent

"provides a read-only mirror" sounds like "developed behind closed doors" to me.

comment 9y ago · link · parent

Oh, bummer, I was really hoping it would support Windows.

comment 9y ago · link · parent

Not if it's a dictionary!

comment 9y ago · link · parent

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).

comment 9y ago · link · parent

How so?

comment 9y ago · link · parent

You gain the knowledge that a device running Fuchsia is running code that's publicly available.

comment 9y ago · link · parent

> 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?

comment 9y ago · link · parent

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".

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.
12345
11