Explore >> Select a destination


You are here

ghvsted.com
| | dolthub.com
4.0 parsecs away

Travel
| | Go 1.21RC2 is out and there's a bunch of small, but helpful new features and changes that are worth learning
| | www.joeshaw.org
5.9 parsecs away

Travel
| | Two great tastes that taste great together
| | ankithooda.com
5.9 parsecs away

Travel
| | xv6 loads the userspace program starting from the virtual address 0x0, which means we can dereference a null pointer in a xv6 process and it will be a valid memory access. #include "types.h"#include "user.h"#include "stat.h"int main(int argc , char **argv) { int *c = (int *)0x0; printf(1, "%d\n", *c); exit();} Compiling and running the above...
| | mazzo.li
25.6 parsecs away

Travel
| Let's say that you have a program which relies on huge pages for performance. I couldn't find a resource fully explaining how to allocate huge pages at runtime, making sure that the huge page allocation was successful, so here it is.