Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions

this website sucks
Submissions

comment 7y ago · link · parent

If you're referring to ifuncs, they aren't doing anything like "JIT itself": your rtld simply calls your function to decide which version of the function you want to call and updates the PLT.

FreeBSD kernel uses ifuncs for SMAP, XSAVE, ERMS (Enhanced REP MOVSB/STOSB), RDSEED.

comment 7y ago · link · parent

Practically all mobile chips support virtualization. In fact, Qualcomm always runs your OS (on both Android phones and Windows laptops) under its own tiny hypervisor.

comment 7y ago · link · parent

Coreboot is what you can run before an UEFI implementation, they aren't mutually exclusive.

comment 7y ago · link · parent

Especially when it's flat out wrong. Coreboot is low level init code that launches a payload. Which can be TianoCore EDK2 or SeaBIOS.

comment 7y ago · link · parent

TSMC 7nm is production, Intel 10nm is (still) vaporware :P

comment 7y ago · link · parent

Do software implementations have to care? qemu implements like every ISA out there..

comment 7y ago · link · parent

> js seems to already have a bytecode for their JIT runtime

This is kind of a nonsensical statement. JS itself doesn't have a bytecode, it's just a specification of the language you write scripts in.

Each implementation has its own intermediate representations, including bytecode formats.

WASM is a vendor-neutral standard that is designed as a compilation target and designed with safety in mind.

SpiderMonkey/JSC/V8 internal bytecode formats are just that, compiler internals.

comment 7y ago · link · parent

Get rEFInd, much nicer UI for selecting between various EFI bootloaders, remembers the last one you selected

comment 7y ago · link · parent

No, it's not like setting font size. Actual fractional scaling as done by macOS and Wayland compositors is rendering at 2x and downscaling.

e.g. 1.5 scale on a 3840x2160 display means you have 2560x1440 logical pixels (3840x(1/1.5) = 2560), applications render for 5120x2880 (2560x2=5120) and get downscaled for 3840x2160.

comment 7y ago · link · parent

IIUC, diffused is where the silicon wafer is created. For 14/12nm, that's the GloFo fab in New York.

Made is where it's attached to the substrate, packaged etc.

comment 7y ago · link · parent

What would be awesome if instead of a Rosetta-like (or qemu-user-like) compatibility layer, the chip supported multiple ISAs natively.

The only company that has the rights to do both ARMv8 and amd64 is.. AMD :)

comment 7y ago · link · parent

Bitwarden, 1Password, Authy etc. have encrypted sync/backup of TOTP secrets.

With hardware tokens.. unfortunately the real solution is "enroll a backup one to all services".

comment 7y ago · link · parent

Really! https://www.youtube.com/watch?v=xCHab0dNnj4&feature=youtu.be...

Don't listen to marketing copy from the people trying to peddle you this stuff.

comment 7y ago · link · parent

But wouldn't that fuck up the processors as well as memory anyway?

comment 7y ago · link · parent

AWS is putting a lot of VMs on their 16-core Cortex-A72 chips :)

comment 7y ago · link · parent

It's not just supercomputing.

There's a push for networking chips (ones with built-in multi-gigabit NICs): Mellanox Bluefield, NXP Layerscape [the one that's in the new SolidRun workstation!]..

And for regular old server chips (or "cloud" in marketing speak): Ampere eMAG, Amazon Graviton..

comment 7y ago · link · parent

> much more power efficient

ehh… x86 ISA does require variable-length decoding, but from what I've heard it's not that much of a power hog, especially in high power scenarios. Microarchitecture is what matters.

Currently, Apple has an incredible microarchitecture, possibly even THE best, but they aren't sharing it with anyone :(

> real advantages over ARM

I guess being first to bring wider SIMD to the market: 256-bit AVX2 is widespread, AVX512 is available on real products. ARM SVE will be amazing, when it ships to actual users.

Though keeping in mind the potential problems of super wide SIMD on the same cores as everything else ( https://blog.cloudflare.com/on-the-dangers-of-intels-frequen... ) and the limited number of truly SIMD-heavy programs (x264 and.. something?) it's not a big deal. AMD Zen 1 is 128-bit anyway, btw.

comment 7y ago · link · parent

> I never understood why this was a privacy issue

e.g. if you have a rather unique SSID, and someone knows it (say you posted a screenshot of your phone's settings), these databases of access points would pretty much point them to your home address

comment 7y ago · link · parent

Cell towers do not "pump out" location. Your phone queries Google/Apple/Mozilla/OpenCellID/whatever with the IDs of the towers it sees, the service returns approximate location based on its database of towers' locations. Same is done with WiFi SSIDs.

comment 7y ago · link · parent

They do it often enough that OS package maintainers deal with build failures caused by Werror quite a lot.

And forget new versions of compilers, how many things are only tested with GCC and fail to build with Werror with clang because of different warnings in Wall?

comment 7y ago · link · parent

Of course https://wiki.netbsd.org/tutorials/clang/

Though NetBSD is a bit behind on switching to the LLVM toolchain, here's a recent update https://blog.netbsd.org/tnf/entry/final_report_on_clang_lld

Meanwhile FreeBSD (on amd64, i386, armv6/7, aarch64) has been buildable with clang since some point in 9.x (2012-13), comes with clang only since 10.0 (01.2014), and since 12.0 the bootstrap linker on amd64/i386/armv7 is LLD (which was the case on aarch64 from the beginning iirc)

comment 7y ago · link · parent

Facebook's static analyzer Infer https://fbinfer.com is written in OCaml.

There's a lot of OCaml in the program verification space: https://frama-c.com http://why3.lri.fr https://alt-ergo.ocamlpro.com

And for mysterious reasons, OCaml is now kinda popular for.. web frontends. Bloomberg created an OCaml-to-JS compiler https://bucklescript.github.io and Facebook (again!) created an alternative syntax https://reasonml.github.io and this combination is apparently a new hipster way of writing web apps.

comment 7y ago · link · parent

FreeBSD also imports RCs, for example

https://github.com/freebsd/freebsd/commit/48cf3d0825d200d26e...

Who cares about "really™ final releases"? :D

comment 7y ago · link · parent

Despite the similar naming, "Web Workers" is a specific browser API that has nothing to do with "the edge" or any server-side thing.

comment 7y ago · link · parent

Indeed, public blockchains aren't useless, they're extremely useful for one specific thing: censorship resistance. Evading the law, that is.

Now, of course the law isn't always just, it sucks that most countries ban drugs, it sucks that governments don't want anti-government activists to get donations, but the terrible things done with buttcoins vastly outnumber the non-terrible things.

Cryptocurrencies have largely fueled the rise of ransomware, extortion and scams.

People are literally burning energy on hash bruteforcing just so that scammers and malware authors could get paid.

comment 7y ago · link · parent

> if you think NAT hides your internal addresses

More like cgNAT makes you share the external address between many people. It gives you plausible deniability: "dear $forum admin, it's not me creating multiple accounts for trolling from the same IP address, it's the guy from the next building, I swear!" / "it's my neighbor's porn visible on https://iknowwhatyoudownload.com/en/peer/ not mine!"

Of course that's Not Security, that's just obscurity, but damn, it kinda does feel good :D

comment 7y ago · link · parent

hmm. Multicast is often used for, like, IPTV. That's a very different task from BitTorrent. Torrents are indeed about managing peers. IPTV is centralized, not p2p, the benefit of multicast for IPTV is that the routers in between the source (ISP) and your client only carry one copy of the stream instead of one stream per client.

At internet scale.. well, it would be nice to have this efficiency for Twitch and YouTube Live. Which are also pretty centralized (CDN) so I don't see how this is about managing peers.

comment 7y ago · link · parent

> NTFS+ (ReFS), ext4+ (btrfs)

That's.. an extremely confusing way to put it. ReFS and btrfs are from-scratch new FSes.

comment 7y ago · link · parent

huh, Atlassian is on the huge company list?

comment 7y ago · link · parent

I can't find confirmation, but that would make sense, single-socket EPYC and TR with Zen2 should be UMA
1
434445
97