Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vips7L
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
691.
▲
by
vips7L
2y ago
.NET has been able to build a self contained single file executable for both the JIT and AOT target for a quite some time. Java also does not require the user to install a runtime. JLink and JPackage have both been around for a long time.
692.
▲
by
vips7L
2y ago
I don't think C++ has good language ergonomics.
693.
▲
by
vips7L
2y ago
On the topic of preference, this thread has really shown me that there is a HUGE preference for a native-aot gc language that is _not_ Go. People want AOT because of the startup and memory characteristics, but do not want to sacrifice langu
694.
▲
by
vips7L
2y ago
Did my post come off as a fan? I directly criticized its ecosystem. It wouldn't be my first pick either. I was just making conversation that there are other options. And AFAIK Symmetry Investments is that dogfood startup.
695.
▲
by
vips7L
2y ago
An unpopular pick that is probably more low level than Go but also still has a GC: D. Understandable why you wouldn't pick D though. Its ecosystem is extremely small.
696.
▲
by
vips7L
2y ago
I don’t think I’ve ever worked anywhere that had decent code quality
697.
▲
by
vips7L
2y ago
I'm pretty sure for Instagram it's by design, not because of their technical stack.
698.
▲
by
vips7L
2y ago
HotSpot definitely has delivered on that too. It's a super dynamic runtime with reflection and randomly loaded jars even if Java the language is terse.
699.
▲
by
vips7L
2y ago
Checked exceptions are represented in the type system. There is fundamentally no difference between these two: A b() throws C fn b() -> Result<A, C> A a = try { b() } catch (C c) { new A() }
700.
▲
by
vips7L
2y ago
People only handle checked exceptions that way because Java the language hasn’t given them the tools to deal with them properly (Swift does a good job at this) and historically people would check exceptions from their downstream function ca
701.
▲
by
vips7L
2y ago
And yet using checked Results seems to be the pattern that most programming communities are heralding. Java has just made checked errors awkward to deal with.
702.
▲
by
vips7L
2y ago
I'm just going to say that you're opinion is wrong. You're opinion is the reason that the majority of errors in C#, Java, JavaScript, Dart, D, and all the other languages that use exceptions have decided that all errors shoul
703.
▲
by
vips7L
2y ago
Right. What I mean is that when you can't handle an exception and you should rightfully become unchecked it's extremely verbose. For example if I'm reading a config file and I should rightfully panic and crash my program if t
704.
▲
by
vips7L
2y ago
I meant my post to positive and to show that your past doesn’t define you!
705.
▲
by
vips7L
2y ago
I’m really passionate about exceptions and checked exceptions in general. Java really has done a disservice by not making it easy to uncheck checked exceptions. Much like rust I hope they offer some sort of ? operator in the future. This re
706.
▲
by
vips7L
2y ago
What a cynical view. You can switch jobs! Nothing is going to force you to work on surveillance software! I spent nearly a decade working on Salesforce. It’s not even on my resume and you couldn’t pay me to do it!
707.
▲
by
vips7L
2y ago
Hmm I don’t think we know that from the post. The list of unrelated objects could be immutable or mutable and never modified. An isEmpty check is 100% safe to be called concurrently in both those situations
708.
▲
by
vips7L
2y ago
How does it compare to graal wasm? https://github.com/oracle/graal/blob/master/wasm/README.md/
709.
▲
by
vips7L
2y ago
In my opinion, the people who went to use Scala were in two categories: people who wanted functional programming on the JVM and people who just wanted a better Java. As Java progressed and Kotlin launched the people that wanted a better Jav
710.
▲
by
vips7L
2y ago
Ehhhh they work, but at what cost? If you know them already go ahead, but the other popular desktop ui's are probably easier and more maintainable. I really do wish desktop and mobile in Java was more popular. I'd really like to h
711.
▲
by
vips7L
2y ago
Have you tried Java’s new ffi api? It’s a lot better than in the past. https://openjdk.org/jeps/454
712.
▲
by
vips7L
2y ago
Nowadays users aren’t expected to install the vm. Desktop apps now jlink a vm and it’s like any other application. I’ve even seen the trimmed vm size get down to 30-50mb. Unfortunately you still get developers who don’t set the correct memo
713.
▲
by
vips7L
2y ago
I’m sure the C++ version is more performant, but that doesn’t strictly mean it was ported for performance. Is there even a JVM on those consoles? I suspect the answer is no and it was easier to remake in C++ than to port OpenJdk to the Xbox
714.
▲
by
vips7L
2y ago
Isn't this something the compiler is going to enforce anyway? Why does it matter? If that's the only difference it's kind of inconsequential isn't it?
715.
▲
Maybe you don't need Rust and WASM to speed up your JavaScript (2018)
(mrale.ph)
1 points
by
vips7L
2y ago
|
1 comments
716.
▲
by
vips7L
2y ago
> Anecdotally, I think of Java as being a deprecated student language (one reason to avoid Kafka in new stacks), but it is still a solid choice in many use-cases. Sounds like you might be too smart to work with any team. =3 Honestly from
717.
▲
by
vips7L
2y ago
Maybe I'm not getting what you're saying but the data is partial? In the situation above we have a valid record created by someone else. This is pseudocode obviously, but I genuinely don't know what copying or building or imm
718.
▲
by
vips7L
2y ago
I genuinely don't know what you're trying to say here. Perhaps you can show me in code.
719.
▲
by
vips7L
2y ago
I personally don’t really like builders. They work in some situations. But if I’m pulling the record from the DB and I only need to set some data on it that is overkill and more complex than need be. The object is already constructed in a v
720.
▲
by
vips7L
2y ago
I think that makes a bad assumption that _you are constructing bad states_ when that isn’t true. You most likely don’t have all the data you need at construction time and the state of the object is still valid. Some data can be null, but la
More ›