sim642

joined 1 year ago
[–] [email protected] 25 points 8 months ago

That's an odd definition of non-public if the information is available to everyone. More like annoyingly public.

[–] [email protected] 32 points 8 months ago (1 children)

keep mum about energy use

Whose mum?

[–] [email protected] 2 points 1 year ago (1 children)

The proof of work is the commit content itself! Unlike some arbitrary brute force task of no value.

[–] [email protected] 42 points 1 year ago (10 children)

Now we know how much they're making with tracking and ads per user.

[–] [email protected] 3 points 1 year ago (1 children)

Pascal is a simpler and more limited language, so it's not entirely surprising. It also has less and smaller standard libraries to link in.

As to C# and F#, what's wrong with the difference? The functional coding style of F# prefers immutable data over possibly mutable ones in C# and that requires more allocations and garbage collection.

[–] [email protected] 1 points 1 year ago (1 children)

That allows processes to be reused but the interpreter must still be set up cleanly each time and torn down. That includes things like open files, database connections and application configurations.

[–] [email protected] 12 points 1 year ago (3 children)

Or you could just write your backend in JS and save a lot according to this table.

The big inefficiency of PHP is that every request is handled in a new instance as opposed to one process running the server continuously.

[–] [email protected] 0 points 1 year ago

Log files themselves don't, but I'm just comparing it with simpler files with simpler structure with simpler algorithms with better complexity.

[–] [email protected] 2 points 1 year ago (2 children)

It's not necessarily about the load, it's about the algorithmic complexity. Going from lists (lines in a file, characters in a line) to trees introduces a potentially exponential increase in complexity due to the number of ways the same list of elements can be organized into a tree.

Also, you're underestimating the amount of processing. It's not about pure CPU computations but RAM access or even I/O. Even existing non-semantic diff implementations are unexpectedly inadequate in terms of performance. You clearly haven't tried diffing multi-GB log files.

[–] [email protected] 5 points 1 year ago

Just means it's a shit charger that can't handle multiple devices at once because that requires higher quality electronic components.

[–] [email protected] 2 points 1 year ago (2 children)

How do you expect it to be shown though?

[–] [email protected] 8 points 1 year ago

Because text is text and all } are the same.

view more: next ›