Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
uluyol
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
331.
▲
by
uluyol
9y ago
I've found link preload headers to be pretty effective at reducing the number of round-trips necessary to load my website.
332.
▲
by
uluyol
9y ago
I don't see why hashing is incompatible with the minimum version algorithm. As far as I can tell, the algorithm will always pick versions that are specified in one module file unless a version that doesn't exist was added by han
333.
▲
by
uluyol
9y ago
Actually, I think the SAT solver is avoided by making the only version constraints of the form <=. Using the min version appears to eschew the need for lock files. Want to upgrade? Bump your min version.
334.
▲
by
uluyol
9y ago
This seems to be the same as what Red Hat is working on with Shenandoah. I don't understand how the goals differ and from a 1000 ft, incomplete view, the basic design seem similar too. Is there anyone who can clarify?
335.
▲
by
uluyol
9y ago
I think this is misinformation. go test does track files read during tests and records a hash of their contents. Bug: https://github.com/golang/go/issues/22593 Commit: https://go-review.googlesourc
336.
▲
by
uluyol
9y ago
I'm just trying to understand this better. > 1. I need a read slave. With MariaDB Galera, I can slave a database of a local master, but Cockroach AFAIK can only do master master. Adding another node to a cluster that will just be re
337.
▲
by
uluyol
9y ago
> If you're a startup and your 100x more performant Go code takes an extra 3-6 months to write I can write Go code nearly as fast as Python, sometimes faster if I need to refactor. Obviously this depends on familiarity with language
338.
▲
by
uluyol
9y ago
As bad as this is, it does seem seem to be the status quo when it comes to forensic "science." I don't have any stats on hand, but it seems like more people are more worried about closing/winning cases than making sure t
339.
▲
by
uluyol
9y ago
I don't have a problem accessing the paper if I click on the title here: https://www.sigops.org/sosp/sosp17/program.html
340.
▲
by
uluyol
9y ago
Net neutrality prevents your ISP from charging you based on the content you view, not the other way around. I don't see how Google or Facebook fit in. By paying Comcast, I pay for them to build out their network and connect me to the
341.
▲
by
uluyol
9y ago
I have mixed feelings about this. On the one hand, good news since it means more work on architectures people use. On the other hand, this means there is really just _one_ architecture which usually hurts portability, and that matters if ar
342.
▲
How to Monkey-Patch the Linux Kernel
(blog.cloudflare.com)
3 points
by
uluyol
9y ago
|
0 comments
343.
▲
by
uluyol
9y ago
I would argue that data structure and system architecture play much more of a role than language choice. Scylla's claims only make sense for datasets that are completely in-memory. Cassandra explicitly targets much larger than memory d
344.
▲
by
uluyol
9y ago
Yes, find some way to take something good that someone has done and make it look bad.
345.
▲
Go dev.boringcrypto branch
(groups.google.com)
2 points
by
uluyol
9y ago
|
0 comments
346.
▲
by
uluyol
9y ago
No, if you think there are problems with cgo, the solution is to address those problems, not reinvent it. If you have performance concerns, file a bug or comment on an existing one. Also, I don't see any reason why jni should be slower
347.
▲
by
uluyol
9y ago
Building the rust code into a syso file might make the (user) build process easier here. This is used for the race detector (based on tsan) and there's an example of building and using one in the dev.boringcrypto branch. This would req
348.
▲
by
uluyol
9y ago
Wasn't there once a "tiny" runtime? https://codereview.appspot.com/3996047/
349.
▲
by
uluyol
9y ago
No, not really. Go's assembly might be considered somewhat higher level than regular assembly code, but it's certainly architecture specific. The examples highlighted use x86 SIMD instructions unavailable on other architectures. F
350.
▲
by
uluyol
10y ago
Go's compilation unit is a package, not a file. This limits the amount of parallelism you can get compared to say C outside of the compiler. You have bottleneck packages like the runtime which have to be compiled before other packages,
351.
▲
by
uluyol
10y ago
What functions return interface{}? I rarely see it outside of marshaling/unmarshaling (where I believe it would remain even if the language had real generics) and contexts (which would also use interface{} if there were generics). Some
352.
▲
by
uluyol
10y ago
I am saying that when you go from fully in memory (due to having a small dataset) to having to move things to and from disk, disk increasingly becomes your bottleneck rather than memory. And disk is much slower than memory.
353.
▲
by
uluyol
10y ago
I don't believe their claims. Many benchmarks (including those done by ScyllaDB) are done badly. They'll take a database built to operate on larger than memory data (e.g. 10x) and run on a dataset that can fit entirely in memory.
354.
▲
Pyston 0.6.1 released, and future plans
(blog.pyston.org)
53 points
by
uluyol
10y ago
|
23 comments
355.
▲
by
uluyol
10y ago
Go strings can contain arbitrary binary data, they are not limited to valid utf-8.
356.
▲
by
uluyol
10y ago
What's wrong with HTTP? If you're going to build an RPC protocol, you are going to need encryption, stream multiplexing, a way to distinguish RPC methods, support for extensions (e.g. auth), and compression. Add the fact that high
357.
▲
by
uluyol
10y ago
How does one implement malloc in C? (Edit: ignore this. As pointed out in the responses, this actually different since GC calls are inserted by the compiler) Unsafe code, direct syscalls, using only a subset of language features, and coupli
358.
▲
by
uluyol
10y ago
It would be nice to quantify what the impact of this is. Go is no worse in this regard than C++ (it even uses a fork of tcmalloc for allocation) and has support for value types so there is a lot less pointer chasing than in Java. Not sure h
359.
▲
by
uluyol
10y ago
Does this still use mono's jit and GC on mac and linux? Last I checked mono's GC is conservative and the jit isn't as good as the .NET one.
360.
▲
by
uluyol
10y ago
Plenty of things in C++ are heap allocated. When you create a vector or dynamic string, it isn't allocated on the stack. Yes RAII would still take care of it but that's a separate thing.
More ›