Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaushiks
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
kaushiks
9y ago
You can do this in Bash already (Ctrl x Ctrl e is bound to readline's edit-and-execute-command, which will open $EDITOR with the current command), but being able to do this everywhere is nice!
2.
▲
by
kaushiks
9y ago
The only thing this page is missing is a marquee element :-)
3.
▲
by
kaushiks
9y ago
The Thinkpad X1 Carbon or the T470p (which has a Quad i7 and supports upto 32GB of RAM).
4.
▲
by
kaushiks
9y ago
Here's another interesting story from the DOS days: https://blogs.msdn.microsoft.com/larryosterman/2004/11/08/ho...
5.
▲
by
kaushiks
9y ago
This has nothing to do with memory. The x86_64 ABI returns values from functions in the RAX register.
6.
▲
by
kaushiks
9y ago
The CLR uses a similar technique to take over control of execution of a managed EXE - http://srevas.net/notes/2007/12/25/mscoree/
7.
▲
by
kaushiks
10y ago
Slightly tangential, and while I know nothing about the implementation details of the SQLPAL, the SSCLI (and later CLR/CoreCLR) took the same approach to port Windows based code to Unixes [1] and makes for interesting code reading. For
8.
▲
by
kaushiks
10y ago
You can also launch the TUI after-the-fact using the key sequence 'C-x o'. (It is no accident that it is the key sequence bound to other-window by default in Emacs).
9.
▲
How exactly are page tables allocated on demand for large reserved regions?
(blogs.msdn.microsoft.com)
1 points
by
kaushiks
10y ago
|
0 comments
10.
▲
Memory Barriers Are Like Source Control Operations
(preshing.com)
4 points
by
kaushiks
10y ago
|
0 comments
11.
▲
by
kaushiks
10y ago
For the 16 byte (on x86_64) header (markOop, klass *).
12.
▲
by
kaushiks
10y ago
I think this post misses the point. Having to enter the runtime in the first place is the problem (and making runtime code marginally faster is not the solution). Fast VMs for dynamically typed languages (Chakra, V8) design the object model
13.
▲
by
kaushiks
10y ago
You're missing the point. The original question (and hence my answer) isn't about whether or not it is a good idea to use finalizers. I'm merely pointing out that both in the case of RAII and a GC, only the lifetime of memory
14.
▲
by
kaushiks
10y ago
It might be, depending on exactly what you'd like to implement. There are two things at play here: 1. The memory that holds the resource. 2. The resource itself. C++ RAII lets you control the lifetime of both. In a GCd language, the GC
15.
▲
by
kaushiks
10y ago
While I agree that it'd be unusual for regular applications to have to resort to using SEGVs to implement features, low level systems code, especially VMs often do, for performance reasons. The Hotspot JVM for instance uses SEGVs to fo
16.
▲
by
kaushiks
10y ago
Not necessarily. As long as it wasn't related to the JIT or the GC, one could always look up the SSCLI (ROTOR) code to understand how something was implemented. https://en.wikipedia.org/wiki/Shared_Source_Common_La
17.
▲
by
kaushiks
10y ago
LGDT is an instruction that Loads the Global Descriptor Table [1]. The CPU doesn't know about the persistence of local state in that it doesn't know (in this case), the significance of anything that is being pushed onto / res
18.
▲
by
kaushiks
10y ago
It generally doesn't matter how the machine code came to be. It is theoretically possible to write an operating system for (say) x86 in (say) Javascript. The reason people generally pick a "systems" language and drop down to
19.
▲
by
kaushiks
10y ago
There's also a DAW called Reason: https://en.wikipedia.org/wiki/Reason_%28software%29
20.
▲
by
kaushiks
10y ago
C++ exception handling is implemented using SEH (so is CLR's IIRC, and Chakra's). SEH is implemented by the OS and is available to non-C++ code too (including C).
21.
▲
by
kaushiks
10y ago
While RtlInstallFunctionTable callback was designed specifically for JIT compilers, RtlAddFunctionTable may also be used. The trick is to give every function its own function table. I wrote Chakra's P/XData handler and was surpris
22.
▲
by
kaushiks
10y ago
GNU/kWindows doesn't make any sense to begin with. Modern Windows OS is the NT kernel with the Windows user land. A more appropriate name would be GNU/NT.
23.
▲
by
kaushiks
11y ago
Microsoft's research OS was called Singularity [1] and the C# compiler (that compiled to native code) Bartok [2]. [1] http://research.microsoft.com/en-us/projects/singularity/ [2] https://en.w
24.
▲
by
kaushiks
11y ago
Between more RAM and a bigger hard disk I'd always pick more RAM. On my development machine I have a very minimal setup (i3, no desktop environment, Emacs, compiler, debugger etc.) and not more than a couple of big repositories checked
25.
▲
by
kaushiks
11y ago
Lack of a 16GB RAM option on a "developer edition" machine is very disappointing. Looks like a Chromebook LS + Crouton is the best Linux development environment one could aspire for right now.
26.
▲
by
kaushiks
13y ago
Much before I knew him from his FOSS work, I used to follow his column on a computer magazine called Computers@Home. Sad to learn he is no more.
27.
▲
Dennis Ritchie memorial symposium
(wadler.blogspot.com)
1 points
by
kaushiks
14y ago
|
0 comments
28.
▲
by
kaushiks
14y ago
What does this example have to do with language design? Eval, for instance, introducing lexical bindings is bad language design. This is mereley an API with a poor contract.
29.
▲
by
kaushiks
14y ago
http://en.wikipedia.org/wiki/T._V._Raman http://emacspeak.sourceforge.net/
30.
▲
by
kaushiks
15y ago
For the interested reader - Linus' book "Just for fun" has a pretty detailed account of his meeting with Steve Jobs.
More ›