HNHacker News
TopNewBestAskShowJobs

funny_falcon

61 karma · joined October 23, 2012

submissionscomments
funny_falcon··on Postgres rewritten in Rust, now passing 100% of the Postgres regression tests
systems, upstart or even simple primitive script wrapper.

Built-in is also possible: just fork once after start, and you have parent as watchdog and restarter.

funny_falcon··on Europe's most wanted man plotted my murder and that of my colleague
I believe, it was pro-military, but not pro-war. The book idealizes the state and social system, and uses war only as a backdrop.
funny_falcon··on The Pentium contains a complicated circuit to multiply by three
Compilers still prefer LEA to multiply on 3,5 and 9, which performs shift+add I believe.
funny_falcon··on From C++ to Clojure: Jank language promises best of both
First SmallTalk versions were built with Lisp. “Live environment” and “world image” were just inherited.
funny_falcon··on Ropey – A UTF8 text rope for manipulating and editing large text
And looks like Helix editor uses it together with ropey.
funny_falcon··on C: Simple Defer, Ready to Use
OMG!

returns_struct looks actually correct to me, ie it is expected (by me). Golang's defer works this way.

Do both examples follow standard? Or is it common misinterpretation by all compilers?

funny_falcon··on Rails for everything
Do you use stanza?
funny_falcon··on C++ is an absolute blast
There is the trick: use enum for const. It works most of the time.
funny_falcon··on C++ is an absolute blast
It seems meson is gaining traction and will overpass cmake in near future.
funny_falcon··on Float Self-Tagging
Another quite similar technique from OpenSmalltalk: https://clementbera.wordpress.com/2018/11/09/64-bits-immedia...
funny_falcon··on Float Self-Tagging
In fact, CRuby successfully combined “Self Tagging” with pointer tagging. Here's the commit:

https://github.com/ruby/ruby/commit/b3b5e626ad69bf22be3228f8...

funny_falcon··on Float Self-Tagging
I mean, CRuby does “Float Self Tagging” for years. Paper just has the mistake about CRuby.
funny_falcon··on Float Self-Tagging
CRuby uses this technique on 64bit platforms for years.

Edit: the commit https://github.com/ruby/ruby/commit/b3b5e626ad69bf22be3228f8...

funny_falcon··on Float Self-Tagging
Just correction: CRuby uses “Float Self-Tagging” for years.
funny_falcon··on Lush: My favorite small programming language
But commits exists even this year: https://sourceforge.net/p/lush/activity/
funny_falcon··on A high-performance, zero-overhead, extensible Python compiler using LLVM
Readability, reproducibility, and simple LRU.

Reproducibility matters for tests, they become simpler. Some other algorithms become simpler as well.

LRU is just a dict with preserving order: on access just delete and insert again.

funny_falcon··on 500 Python Interpreters
Unfortunately, pocketpy moved to global reference to vm recently while changing implementation from C++ to C. Weird decision.
funny_falcon··on Telegram founder Pavel Durov arrested at French airport
AFAIK, Signal doesn’t provide any way to prove its application were built from non-modified audited free open source code. Indeed there are evidences it behaves “a bit” differently.

So unless you’ve built application by yourself, you have no guarantee of it’s sequrity.

funny_falcon··on Show HN: High-precision date/time in SQLite
What “Statically typed” would mean for SQL DB with extensible type system?
funny_falcon··on Show HN: High-precision date/time in SQLite
As a PostgreSQL smallish contributor I just can say: NO, DON'T DO THIS!!!!

Extensible type system is a worst thing that could happend with database end-user performance. Then one may not short-cut no single thing in query parsing and optimization: you must check type of any single operand, find correct operator implemenation, find correct index operator family/class and many more all through querying system catalog. And input/output of values are also goes through the functions, stored in system catalog. You may not even answer to "select 1" without consulting with system catalog.

There should be sane set of builtin types + struct/json like way of composition. That is like most DBs do except PostgreSQL. And I strongly believe it is right way.

funny_falcon··on Go is my hammer, and everything is a nail
First three are clearly documented in language reference, which could be read in several hours (at least before generics were introduced).
funny_falcon··on A write-ahead log is not a universal part of durability
Most weird thing: PostgreSQL's checksum algorithm is almost free on modern processors. It uses SIMD instructions extremely well in optimized builds. I've never seen him in CPU profile despite I always enable it.

There are no any reasons to not enable it (except pg_upgrade).

funny_falcon··on Evolving the Go Standard Library with math/rand/v2
Lemire uses your found but corrects its biases.
funny_falcon··on Borgo is a statically typed language that compiles to Go
There was one: https://github.com/grumpyhome/grumpy

Looks like abandoned though.

funny_falcon··on Vala Programming Language
`git gui` and `gitk` my Swiss-knife tools for every day git-ting. They are maintained by git core team.
funny_falcon··on Inferno-OS: distributed operating system where everything is a file
Sun bought whole team of Self [1] language to make its HotSpot JIT.

[1] https://en.wikipedia.org/wiki/Self_(programming_language)

funny_falcon··on Mathematicians discover shape that can tile a wall and never repeat
But there are two shapes: "enshtein" and its reflection.
funny_falcon··on Modernizing C arrays for greater memory safety: a case study in the Linux kernel
Wow, such a great annotation language. Wish it were in GCC as well.
funny_falcon··on Apple announces full Swift rewrite of the Foundation framework (2022)
GCC still compiles Objective-C as if it is translated on-the-fly to C. Unfortunately, there is no way to get translated source :-( because it happens on AST-like level.
funny_falcon··on Goodbye to the C++ Implementation of Zig
Why did you abandon "translate-to-C" backend? It would be good to have high level language translated to C (aside from Vala and Nim).
Page 1 of 3Next →