News for hackers. Stuff that matters.

oconnor0

Re:Ashet Home Computer on Tuesday August 12, 2025 @11:26PM (#44884394)
Strange, I was able to sign up from my .family email
Re:SimpleW – Web Server Library .NET Core on Tuesday August 05, 2025 @01:17PM (#44801006)
I really wish that Kestrel was available as a standalone library. Kind of like Jetty on the JVM.
Does that mean you are planning a specific editor for it?
Except that Google Drive just doesn't seem to work in Firefox.
Re:Wrapping Up 2021. Leaving C++ on Sunday January 02, 2022 @05:30PM (#29774766)
Ada came out of the DOD so assuming it's an all-caps acronym makes a lot of sense. ;)
Re:Luau goes open-source on Wednesday November 03, 2021 @08:36PM (#29102391)
> 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.

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.
Re:Unix System Programming with Standard ML (2001) [pdf] on Wednesday February 05, 2020 @11:49AM (#22248554)
What's the problem with the module system and functors?
Re:Writing a DSL in Lua (2015) on Tuesday February 04, 2020 @06:11PM (#22242168)
Would you be willing to explain why explicit asynchrony is superior to implicit cooperative threading? Rather than simply engaging in more namecalling.
Re:OCaml on Baremetal Shakti RISC-V Processor on Saturday March 30, 2019 @06:46PM (#19532431)
Ah, maybe, perhaps I am in the minority that liked the different operators for ints and floats. :D
Re:OCaml on Baremetal Shakti RISC-V Processor on Friday March 29, 2019 @01:04PM (#19523480)
> 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.

Re:Ask HN: What is the best “dumb” phone? on Monday March 18, 2019 @04:30PM (#19424936)
What is the problem with running Android here?
I don't think I'd call Rust user friendly.
"Terrible and unoriginal name choice" is probably a little dramatic:

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

Re:The Customization Curve on Thursday September 14, 2017 @02:34PM (#15251041)
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".
Re:C++17 is formally approved on Thursday September 07, 2017 @10:52AM (#15192370)
It's significantly easier to be "bad" with C++ than it is to be "bad" with Java.
Re:Sile – Simon's Improved Layout Engine on Friday September 01, 2017 @07:13PM (#15153040)
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"?

Re:Neo – Desired Word Processor for Authors on Wednesday August 23, 2017 @03:57PM (#15084534)
What is the process for converting what is written in Quoll into something printable, like a PDF?
Re:Neo – Desired Word Processor for Authors on Wednesday August 23, 2017 @11:53AM (#15082508)
Has anyone used (Quoll Writer)[0]?

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

Re:Android Is a Dead End on Sunday July 16, 2017 @10:31PM (#14785274)
"provides a read-only mirror" sounds like "developed behind closed doors" to me.
Re:Cicada – Unix shell written in Rust on Saturday July 01, 2017 @02:41AM (#14675746)
Oh, bummer, I was really hoping it would support Windows.
Re:Do 20 pages of a book gives you 90% of its words? on Friday June 30, 2017 @05:59PM (#14673821)
Not if it's a dictionary!
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).
Re:Julia 0.6 is out on Tuesday June 20, 2017 @01:48PM (#14596793)
How so?
Re:How sandboxing works in Fuchsia on Sunday June 18, 2017 @10:42PM (#14584282)
You gain the knowledge that a device running Fuchsia is running code that's publicly available.
Re:Compiler Optimizations are Awesome on Thursday June 01, 2017 @02:12AM (#14458335)
> 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?

Re:Compiler Optimizations are Awesome on Thursday June 01, 2017 @02:11AM (#14458330)
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".

Re:Viper: a new programming language from Ethereum on Monday May 22, 2017 @09:37PM (#14398188)
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.
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.
Re:Build Your Own Text Editor on Thursday April 06, 2017 @12:43AM (#14047964)
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.

Older »