Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
coder543
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
83 ms
·
961.
▲
by
coder543
4y ago
Certainly interesting, but I'm not sure how well the performance of a prolog interpreter maps to other use cases. That benchmark looks too short to be a useful measure of how JIT influences performance, otherwise I would ask how the re
962.
▲
by
coder543
4y ago
I don't commonly see mainstream programming languages, compilers, or runtimes providing comparative benchmarks for themselves these days, so I don't consider that a safe assumption at all. It would certainly be nice if Wasmer did
963.
▲
by
coder543
4y ago
> thus inferior to natively compiled code in most instances Do you have a source for this claim? Using a JIT with AOT binaries (which is what this seems to be) can sometimes be very beneficial. It's like doing PGO without the manual
964.
▲
by
coder543
4y ago
> The memory safe subset of C++ is also an option. This does not actually exist, as far as I'm aware. There are certain things people propose doing in C++ that eliminate a small number of issues, but I haven't seen anyone clear
965.
▲
by
coder543
4y ago
> It's very risky, and a very long term project to rewrite something with this level of history into a completely new language. I didn't suggest a complete rewrite of the project. However, they could choose to only write ne
966.
▲
by
coder543
4y ago
I think at this point we've established that it's C which is just irreparably broken. Blaming the OpenSSL developers for writing bad C is just a "no true scotsman" at this point, since there is no large, popular C codeba
967.
▲
by
coder543
4y ago
https://news.ycombinator.com/item?id=33673792
968.
▲
by
coder543
4y ago
It's not as if people aren't trying to do that: https://github.com/openai/whisper/discussions/264 I tried out this notebook about a month ago, and it was rough . After spending an evening improving
969.
▲
by
coder543
4y ago
> I would recommend using :user-invalid and polyfilling Is there a polyfill you can recommend?
970.
▲
by
coder543
4y ago
> They pay for enormous capacity that is used only sporadically. In this day and age? I am highly skeptical. Any large, upcoming surge of traffic is planned in advance, as in the case of the Taylor Swift Era Tour ticket sales, so they ca
971.
▲
by
coder543
4y ago
I don’t think we’re on the same page about what midstack inlining is being used for in my suggestion. This discussion is about eliminating a heap allocation, which as far as I understand, RVO never does. Please read the article I linked i
972.
▲
by
coder543
4y ago
There is potentially another option: use the midstack inliner to move the allocation from the heap to the stack of the calling function: https://words.filippo.io/efficient-go-apis-with-the-inliner/ As long as the globa
973.
▲
by
coder543
4y ago
Nebula is Nreal's proprietary virtual workspace. DeX is a feature offered on many mid-to-high-end Samsung phones where you can plug it into an external monitor, mouse, and keyboard and get an Android-based desktop-style experience with
974.
▲
by
coder543
4y ago
As noted elsewhere in this discussion, the Nreal Air glasses already offer 49ppd, which is way higher than the VR headsets on that chart. I haven't gotten to try them out yet, but they seem interesting.
975.
▲
by
coder543
4y ago
> it doesn't support AR monitors At the top of this thread, the youtube video linked by that comment shows AR monitors on a Mac at 7:24 in the video. The software support for that isn't there on iOS or iPadOS, but it is support
976.
▲
by
coder543
4y ago
Much better to just go in and turn on Settings -> Camera -> Macro Control
977.
▲
by
coder543
4y ago
Quad Bayer: https://www.dpreview.com/files/p/articles/4088675984/Quad_Ba... The 48MP sensor still has 48MP of monochromatic resolution, but it only has 12MP of effective color resolution. You'll sti
978.
▲
by
coder543
4y ago
If you take a photo of a subject that is closer than 7.8 inches, you're no longer using the main camera on the 14 Pro. It automatically switches to the ultrawide camera and crops in to show the same field of view. I suspect that is hap
979.
▲
by
coder543
4y ago
I'm just going to mention that NATS can be used as a general purpose transport, with encryption and a surprisingly capable authentication and authorization system. It also supports federating into clusters and superclusters. NATS has
980.
▲
by
coder543
4y ago
Aren’t BiDi transceivers usually a good bit more expensive, especially compared to how low the material cost of fiber is? What’s your use case for BiDi? I don’t have a lot of first hand experience with this stuff, though. I can easily imagi
981.
▲
by
coder543
4y ago
Unless I'm reading this wrong, it looks like Mozilla has been working on OPFS support for the last 10 months or so: https://bugzilla.mozilla.org/show_bug.cgi?id=1748667 No telling when it will be ready, but it's e
982.
▲
by
coder543
4y ago
That makes sense, although these topics could still potentially be mentioned in the documentation.
983.
▲
by
coder543
4y ago
I feel like Google Chrome shipped an experiment at one point that was going to include some of the most popular libraries with the browser, so they would be equally cached for all Chrome users, for all sites. I'm having trouble finding
984.
▲
by
coder543
4y ago
Google, Apple, and Mozilla apparently all failed to find a solution to this problem, even though lots of people wanted there to be a solution. Certainly, any browser that shipped this feature in a privacy-respecting manner would have brag
985.
▲
by
coder543
4y ago
> Do I think it should stand in the way of a functional internet? Not really. We have a functional internet. I'm using it to communicate right now.
986.
▲
by
coder543
4y ago
> The privacy problem is not a result of the shared dependency, it's a result of the shared cookies. No, it's not the result of the shared cookies. You just ignored all of the timing attacks and fingerprinting which a shared
987.
▲
by
coder543
4y ago
Signing dependencies is related to integrity, which is orthogonal to privacy. Sharing a cache between websites has proven to be a privacy issue. Read more here: https://developer.chrome.com/en/blog/http-cache-parti
988.
▲
by
coder543
4y ago
I agree. I said: > so it is effectively a one time penalty for a given website which shows that I already acknowledged the demise of cross-origin caching. Each website the user visits that uses this library has to pay a 266KB penalty on
989.
▲
by
coder543
4y ago
"Hefty"... for an asset that can easily be cached long term, so it is effectively a one time penalty for a given website, and many web apps will load images larger than this. Certainly, just about any marketing/product page w
990.
▲
by
coder543
4y ago
As a little pro-tip, the demos appear to be serving a gzip compressed WASM file, but offering a brotli compressed version for clients that say they accept it would be even better: 665K sqlite3.wasm 306K sqlite3.wasm.gz (-54% compa
More ›