Readit News logoReadit News

Deleted Comment

lewurm commented on Quake 3 Source Code Review: Network Model (2012)   fabiensanglard.net/quake3... · Posted by u/mmh0000
testfrequency · 9 months ago
Eh. While not great given bandwidth availability at the time, most Quake hosted servers has excellent ping and latency for most people domestically. The main issues were honestly people hosting from their local machines across the world, which obviously had very poor results.

I am a former Quake 3 champion, have a lot of experience dealing with Quake 3 servers :)

lewurm · 9 months ago
What is a former q3 champion doing these days? I'm genuinely curious. Since you are on hacker news I assume you do something with software. Any skills that you picked up back then that are useful today?
lewurm commented on AMD's Turin: 5th Gen EPYC Launched   chipsandcheese.com/p/amds... · Posted by u/zdw
hedora · a year ago
I wonder if you can boot it without populating any DRAM sockets.
lewurm · a year ago
Firmware is using cache as RAM (e.g. https://www.coreboot.org/images/6/6c/LBCar.pdf) to do early init, like DRAM training. I guess later things in the boot chain rely on DRAM being set up probably though.
lewurm commented on Arm64EC – Build and port apps for native performance on Arm   learn.microsoft.com/en-us... · Posted by u/heinrich5991
jart · a year ago
Wow! This might actually make it possible for Actually Portable Executable to support running on Windows ARM. I'm already putting the ARM code inside all my binaries. There's just never been a way to encode that in the PE headers. But if my emulated WinMain() function for x86-64 could detect that it's being emulated and then simply ask a WIN32 API to jump to the ARM entrypoint instead, it'd be the perfect solution to my problems. I actually think I'm going to rush out and buy a Windows ARM computer right now.
lewurm · a year ago
> I actually think I'm going to rush out and buy a Windows ARM computer right now.

If you have an Apple Silicon machine you can run a Windows Insider build via UTM in a VM.

lewurm commented on Show HN: I Built a Java IDE for iPad    · Posted by u/_38ua
robrtsql · a year ago
The app is monetized by limiting the number of “runs” you can do per month. Based on iOS limitations I think we can assume this means the compilation is done on a remote server.

EDIT: nevermind! I tried running a program with airplane mode on and it still worked. Now I’m really interested to hear how this was accomplished.

lewurm · a year ago
Probably a OpenJDK Zero VM build. That's a configuration without JIT or template interpreter, but a "plain" C++ switch dispatch interpreter that requires no runtime code generation.
lewurm commented on Notes on debugging HotSpot's JIT compilation (2023)   jornvernee.github.io/hots... · Posted by u/lichtenberger
comonoid · a year ago
Well, inlining is not necessary, good old interprocedure analysis would resolve it too.
lewurm · a year ago
Sure, but neither javac (the Java to bytecode compiler) or HotSpot are doing that. The former tries to preserve as much as possible, and for the latter interprocedure analysis is too costly at run-time.
lewurm commented on Cortex X2: ARM aims high   chipsandcheese.com/2023/1... · Posted by u/chmaynard
geek_at · 2 years ago
Are there any viable ARM Servers available in a homelab price range? Every time I look I only see the 2000$ enterprise 2U servers. I have outgrown the Raspberry Pis but still love the idea of moving my homelab to ARM
lewurm · 2 years ago
Mac Mini running Asahi Linux might be an option
lewurm commented on Zig is now self–hosted by default   github.com/ziglang/zig/wi... · Posted by u/BratishkaErik
AndyKelley · 3 years ago
To clarify what this means, since things can get confusing with subtle differences in wordings:

* stage1 is when zig is built from C++ code[1] (the "bootstrap" compiler) using system C/C++ compiler toolchain.

* stage2 is when zig is built from Zig code[2] using stage1.

* stage3 is when zig is rebuilt from the same Zig code[2] using stage2.

Before today, zig would give you stage1 by default, and you could opt in to stage2 using `-fno-stage1`. After today, zig gives you stage3 by default, and you can opt in to stage1 using `-fstage1`.

In all three cases, LLVM is being used. Although Zig has started to fully self-host by providing backends that have no dependency on LLVM, none of these fully self-hosted backends are complete.

Why bother self-hosting? Because:

* Zig produces smaller, faster binaries than C++ that use less memory[4]. Case in point: the new self-hosted compiler is 1.5x faster than the C++ implementation and uses 3x less peak RAM.

* Development velocity in Zig is much faster than C++, and debugging is a breeze in comparison due to Zig being much safer than C++ and having better debug tooling. Similarly, comptime features let us add more assertions and debug checks that are not possible in C++.

* Zig compiles much faster than C++.

* Zig cross compiles better than C++ making it easier to create builds of the compiler for every target.

* The self-hosted compiler does not need a softfloat library dependency to support f16 or f128 operations.

* Zig's std lib data structures are incredibly useful, especially compared to the C++ STL.

There are still many known bugs; not every project will be able to upgrade immediately. See the full upgrade guide [3] for help deciding when and how to upgrade.

[1]: https://github.com/ziglang/zig/tree/master/src/stage1

[2]: https://github.com/ziglang/zig/tree/master/src

[3]: https://github.com/ziglang/zig/wiki/Self-Hosted-Compiler-Upg...

[4]: https://media.handmade-seattle.com/practical-data-oriented-d...

lewurm · 3 years ago
Thanks for the context!

What's the difference between the stage2 and stage3 binary? Does stage1 produce different binaries for the same input compared to stage2/stage3?

lewurm commented on Clojure and Doom Emacs on a brand new M1 computer   arthurbrrs.me/clojure-doo... · Posted by u/tosh
lewurm · 3 years ago
GraalVM will have a stable release that includes Apple Silicon support next week. Glad to see the snapshot did the job for you though :-)
lewurm commented on OpenSSH 9.0   openssh.com/releasenotes.... · Posted by u/rurban
Reitet00 · 3 years ago
> there have been situations where I needed to prove my identity to people who only had my ssh public key

Just wondering what kind of situation can this be where someone has only your ssh public key? Usually people know each other via say, github user names or irc handles but ssh public keys? (genuinely curious)

lewurm · 3 years ago

u/lewurm

KarmaCake day104September 12, 2016
About
blog: github.com/lewurm/blog/issues

contact: wien.tomnetworks.com

View Original