Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Rusky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
721.
▲
by
Rusky
9y ago
Monogame, for example, supports PS4, Xbox One, and Switch, while still being run as an open source project.
722.
▲
by
Rusky
9y ago
That's intentional- this is "Part 1 - Browsers today."
723.
▲
by
Rusky
9y ago
No extension at all- it's built in. Try visiting about:profile or launching Firefox with the -p flag.
724.
▲
by
Rusky
9y ago
Firefox already has that sort of profiles, though they are somewhat less visible than the equivalent Chrome feature.
725.
▲
by
Rusky
9y ago
"you are free to decide when others can't speak freely" is a bit reductionist considering we're talking about a platform providing the capability for others' speech. Other situations that introduce nuance are privat
726.
▲
by
Rusky
9y ago
The particular speech in question matters here at some level, doesn't it? Society is messy and collaborative, and applying a first amendment-style rule to literally everyone on literally every subject is untenable. In a sense it'
727.
▲
by
Rusky
9y ago
The syntax actually looks fairly similar to Rust, just with generics replaced with `comptime`. What do you find more approachable about it?
728.
▲
Writing a Command Line Tool in Rust
(mattgathu.github.io)
3 points
by
Rusky
9y ago
|
0 comments
729.
▲
by
Rusky
9y ago
> examples of code that really would benefit from the compiler's help This seems to be the point of disagreement here, and I think evidence clearly shows that you are wrong. Sure, Rust doesn't help you when writing the impleme
730.
▲
by
Rusky
9y ago
IIRC it was a mark and sweep GC in the OCaml implementation.
731.
▲
by
Rusky
9y ago
The way I look at it is as just another way of manipulating continuations, alongside conditional, loops, call/return, generators, coroutines, exceptions, etc. Even in some other hypothetical asynchronous paradigm, all those patterns st
732.
▲
by
Rusky
9y ago
You can use JSX with Vue, and still get its other benefits. :)
733.
▲
by
Rusky
9y ago
That's fair, the ecosystem certainly isn't ready for every use case. What specifically do you mean by "the way the borrow checker handles callbacks"?
734.
▲
by
Rusky
9y ago
This is just anecdotal, but for me productivity in Rust is way higher than C++. Sum types and pattern matching, affine types, the choices made by the standard library, and Cargo all contribute to that. I suspect once you get your head wrapp
735.
▲
by
Rusky
9y ago
Message passing performance is a bit of a red herring. Performance has been within a few percent of monolithic kernels for a long time. More importantly, message passing is already in widespread use for things like virtualization or userspa
736.
▲
Try Out Rust IDE Support in Visual Studio Code
(users.rust-lang.org)
265 points
by
Rusky
9y ago
|
82 comments
737.
▲
by
Rusky
9y ago
Right, I was referring to adding the right -M arguments, including the generated .d files, and handling the edge cases with adding/removing files to the build. Overall the minimal Makefile I copy-paste into every new C project is about
738.
▲
by
Rusky
9y ago
I do like the straightforwardness of Make. But it doesn't do quite enough for it to be simple to use for C or C++ programs. The simplest generic Makefile I can come up with that handles header file dependencies correctly is 10-20 lin
739.
▲
by
Rusky
9y ago
They weren't all that long or written in machine code. I mostly typed in BASIC programs that fit on a single page. The games weren't that sophisticated, obviously, but it was still fun.
740.
▲
by
Rusky
9y ago
> The thing with desktop applications is that an "industrial-strength" one needs to look native I don't think this is the case for every application. It's definitely true for mobile apps, and it's probably true f
741.
▲
What the Rust Language Server Can Do
(ncameron.org)
4 points
by
Rusky
9y ago
|
0 comments
742.
▲
by
Rusky
9y ago
The JVM is also massively more complex than WebAssembly. It defines its own object model, its own memory management system, its own enormous standard library. WebAssembly is how these things should have been done from the start. Leave the o
743.
▲
by
Rusky
9y ago
All of these API surfaces are pretty large- what is a good way to get a feel for what they do/don't offer? In particular, what are you referring to in .NET Core that you wouldn't want in Framework?
744.
▲
by
Rusky
9y ago
The comment you replied to does feel somewhat disingenuous and perhaps unproductive, but it's possible they're merely lamenting the state of affairs rather than intending to criticize anyone who works (or doesn't) on Git.
745.
▲
by
Rusky
9y ago
Those are all surface-level comparisons, completely outside the actual languages themselves. And in particular, this thread is about static analysis of pointers to improve ergonomics while retaining memory safety. Javascript's approach
746.
▲
by
Rusky
9y ago
> you need to be unsafe if working with memory mapped structs Perhaps when defining their address and layout, or if they are a hardware structure that affects memory like a page table or TLB or a DMA controller, but beyond that, why? Or
747.
▲
by
Rusky
9y ago
It's a particular technique for managing the memory that helps you avoid accidentally using it after it's been freed/reused.
748.
▲
by
Rusky
9y ago
It's not about making it available for continued production use. It's about archiving the content people created with it. That's getting harder and harder to do as platforms get more and more complicated. "Mostly" c
749.
▲
by
Rusky
9y ago
A pattern on a union just interprets it as the specified field. It doesn't try to determine which one was actually written to last.
750.
▲
by
Rusky
9y ago
Gnome Shell seems to remember the last opened one. That doesn't really help when you actually do use Calc occasionally, though.
More ›