Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
viktorcode
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
271.
▲
by
viktorcode
4y ago
That is expected. With different input data (what you call runtime condition) you get different result. With the same input data the determinism holds for RC, but not for GC.
272.
▲
by
viktorcode
4y ago
The academia tends to call RC a form of GC. For programmers experienced in languages with manual memory management those are very different beasts.
273.
▲
by
viktorcode
4y ago
See that last graph with memory overhead? Not everyone's definition of "better" allows for that.
274.
▲
by
viktorcode
4y ago
> It’s possible to do this correctly if you actually read the docs and understand what you’re doing, using tools like weak pointers, but when you have hundreds of developers, many of whom got their job either by transferring from an andr
275.
▲
by
viktorcode
4y ago
> So reference counting works by the programmer knowing the lifetime of each object allowing them to only increment / decrement the refcount once, and trusting that the raw uncounted pointers they use elsewhere are always valid? The
276.
▲
by
viktorcode
4y ago
> he also dismisses GC as inherently flawed It's a compromise, on memory consumption and performance. Modern GCs are minimising the impact of those factors, but they still remain a part of the design. RC is a performance compromise.
277.
▲
by
viktorcode
4y ago
Deterministic means that running the same part of the program will take the same amount of time. Deallocating the same memory object graph is pretty much deterministic. GC can throw a spanner in that by deciding that now is the time to do i
278.
▲
by
viktorcode
4y ago
> it's the myth that garbage collection always automatically means your program is going to be spending 80% of its time doing it and freezing for a second every five seconds the instant you use a language with garbage collection. No
279.
▲
by
viktorcode
4y ago
As I heard those guys write allocation-free Java code in critical paths. Nothing allocated, nothing to collect.
280.
▲
by
viktorcode
4y ago
Putting both under the same term is meaningless. Reference counting and Garbage Collection have very clear difference: when the referenced objects are destroyed (not deallocated). In RC it happens when the count reaches zero. In GC it happe
281.
▲
by
viktorcode
4y ago
For two messengers operating on two different encryption protocols the only way to talk to each other is to introduce an intermediary, which will decrypt and then re-encrypt messages, thus throwing p2p model out of the window. Some optimist
282.
▲
by
viktorcode
4y ago
> If you’ve been developing software for a while, you know that code has this natural tendency to turn into a mess. That doesn't apply to everyone and every project. When people leading the project are experienced developers underst
283.
▲
by
viktorcode
4y ago
Yes. But this is how world works. I suggest you to try doing it yourself: get rid of all fossil-fuel based heating and cooking appliances, replace your car with an EV, and maybe set up your own renewable power generation if your area's
284.
▲
by
viktorcode
4y ago
What's the point of producing low margin hardware if you don't control the sales on this platform?
285.
▲
by
viktorcode
4y ago
Well, at one point of history it was "impossible to compete" against Nokia on mobile market. I find statements that we are living at the point of the market where competition is no longer possible to be very naive.
286.
▲
by
viktorcode
4y ago
> As one example, making "core messaging functionality interoperable". How exactly does that work with end-to-end encryption? Quite simply: it doesn't. It can only work the same way as iMessage interoperates with SMS, by t
287.
▲
by
viktorcode
4y ago
Overall, it's the most expensive way of producing energy. Long term it is on the way out.
288.
▲
by
viktorcode
4y ago
Does WASM support SIMD?
289.
▲
by
viktorcode
4y ago
> Using async and await with C#’s Task can be a bit of a headache with Godot, especially if you don’t realize that that most ways of executing an async Task in C# starts a new thread (or recycles one from the task thread pool). Unity mak
290.
▲
by
viktorcode
4y ago
I'm afraid it's worse. The law does apply, but what the law does is at the discretion of a civil servant handling the case. It isn't clear cut. As the result thousands of people who were living legally in the UK for decades f
291.
▲
by
viktorcode
4y ago
Android has a wide plethora of devices, Apple can't make hardware catering to everyone's needs.
292.
▲
by
viktorcode
4y ago
I concluded from experience that it always pays off to keep views separate from any logic except the bare minimum required for presenting the data on screen. This works regardless of UI framework.
293.
▲
by
viktorcode
4y ago
I'm wondering what you needed to write unsafe code for? Could there be another way to get rid of reference counting for your use case? Another question, have you tried using Accelerate framework to solve performance bottlenecks (or sav
294.
▲
by
viktorcode
4y ago
There is. You can easily nest UIKit/AppKit inside SwiftUI and vice versa.
295.
▲
by
viktorcode
4y ago
In many countries your mobile phone number is too linked with the ID. So technically government already can watch your movements if you are carrying a mobile phone.
296.
▲
by
viktorcode
4y ago
> When I ported individual sections of functionality, the Swift source typically measured 30% the size of the corresponding C++ code. This is impressive.
297.
▲
by
viktorcode
4y ago
It looks like a strike action by the AI drivers.
298.
▲
by
viktorcode
4y ago
All the papers that can be replaced with this digital ID were issued by the state.
299.
▲
by
viktorcode
4y ago
PCs weren't made "open" by the government regulations. Any company if it wishes so could start selling a locked down Windows machine with no ability to replace the browser. Nobody will call this company "a monopoly"
300.
▲
by
viktorcode
4y ago
That's exactly why markets aren't defined in that way. See judge's notes from Epic v Apple trial.
More ›