Viewing profile — kaushiks
kaushiks
HN member- Joined
- Sun, Jul 03, 2011, 8:21 AM UTC
- HN karma
- 113
- Public activity
- 35 items
- HN profile
- View on Hacker News ↗
About kaushiks
Recent public activity
-
comment
Comment #16514480
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 everywh…
-
comment
Comment #16506083
The only thing this page is missing is a marquee element :-)
-
comment
Comment #16058412
The Thinkpad X1 Carbon or the T470p (which has a Quad i7 and supports upto 32GB of RAM).
- comment
-
comment
Comment #15948609
Here's another interesting story from the DOS days: https://blogs.msdn.microsoft.com/larryosterman/2004/11/08/ho...
-
comment
Comment #15214093
This has nothing to do with memory. The x86_64 ABI returns values from functions in the RAX register.
-
comment
Comment #15214035
The CLR uses a similar technique to take over control of execution of a managed EXE - http://srevas.net/notes/2007/12/25/mscoree/
-
comment
Comment #13209622
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…
-
comment
Comment #12257421
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).
- story
- story
-
comment
Comment #12075721
For the 16 byte (on x86_64) header (markOop, klass *).
-
comment
Comment #12027631
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 dyna…
-
comment
Comment #11950195
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 …
-
comment
Comment #11944457
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 …
-
comment
Comment #11899959
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…
-
comment
Comment #11812645
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.wikipedi…
-
comment
Comment #11795242
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 significanc…
-
comment
Comment #11794017
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 generall…
-
comment
Comment #11717471
There's also a DAW called Reason: https://en.wikipedia.org/wiki/Reason_%28software%29
-
comment
Comment #11483848
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).
- story
-
comment
Comment #11477799
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…
-
comment
Comment #11460025
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.
-
comment
Comment #10825594
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] …