Quantcast
Channel: Andrew Kelley
Browsing all 61 articles
Browse latest View live
↧

Zig: December 2017 in Review

Zig: December 2017 in Review I figured since I ask people to donate monthly, I will start giving a monthly progress report to provide accountability. So here's everything that happened in Zig land in...

View Article


Unsafe Zig is Safer Than Unsafe Rust

.red { color: red; } .green { color: green; } Unsafe Zig is Safer than Unsafe Rust 2018 January 24 Consider the following Rust code: struct Foo { a: i32, b: i32, } fn main() { unsafe { let mut array:...

View Article


Image may be NSFW.
Clik here to view.

Zig: January 2018 in Review

Zig: January 2018 in Review One month (and a few days, sorry I'm late!) has passed since I did the December 2017 writeup, and so it's time for another month-in-review for my esteemed patrons. LLVM 6...

View Article

Image may be NSFW.
Clik here to view.

I Quit My Cushy Job at OkCupid to Live on Donations to Zig

I Quit My Cushy Job at OkCupid to Live on Donations to Zig I am fortunate to be one of those people who started tinkering with code in their teens, and then found themselves in the position where...

View Article

String Matching based on Compile Time Perfect Hashing in Zig

String Matching based on Compile Time Perfect Hashing in Zig Inspired by cttrie - Compile time TRIE based string matching, I decided to see what this solution would look like in Zig. Here's the API I...

View Article


Image may be NSFW.
Clik here to view.

Using Zig to Provide Stack Traces on Kernel Panic for a Bare Bones Operating...

.red { color: red; } .green { color: green; } Using Zig to Provide Stack Traces on Kernel Panic for a Bare Bones Operating System Last week, I reached an exciting milestone in my career as a...

View Article

Why I'm donating $150/month (10% of my income) to the musl libc project

#prog { background-color: #171717; width: 350px; height: 30px; border: 1px solid black; } #done { background-color: #309e07; width: 100%; height: 30px; line-height: 30px; text-align: center; color:...

View Article

`zig cc`: a Powerful Drop-In Replacement for GCC/Clang

.diff0 { color: #990000; } .diff1 { color: #009900; } `zig cc`: a Powerful Drop-In Replacement for GCC/Clang If you have heard of Zig before, you may know it as a promising new programming language...

View Article


Image may be NSFW.
Clik here to view.

Lemming - PyWeek #12 Game Development Journal

Lemming - PyWeek #12 Game Development Journal PyWeek #12 challenge starts in 2 days, 16 hours, and 11 minutes. And I have 23 hours of homework to do in order to clear the Week of Py for development....

View Article


John Muir Trail from the Perspective of Andrew Kelley

John Muir Trail from the Perspective of Andrew Kelley 198 miles - July 24, 2011 through August 4, 2011 Journal Entries Day 1 - First Day of Hiking Day 2 - Donahue Pass to Some Lake Day 3 - Some Lake to...

View Article

How to be Successful at PyWeek

How to be Successful at PyWeek A short series to help you win. Covers these topics: What PyWeek is, and Why You Should Participate Video Games in Python Speed Developing Game Theory - How to Create Fun...

View Article

Rapid Development Email Templates with Node.js

Rapid Development Email Templates with Node.js Contents Sending Automated Emails in Node.js node-email-templates Gotchas Fundamental Flaws Includes VS Template Inheritance Sharing CSS Dummy Context...

View Article

Image may be NSFW.
Clik here to view.

Statically Recompiling NES Games into Native Executables with LLVM and Go

Statically Recompiling NES Games into Native Executables with LLVM and Go I have always wanted to write an emulator. I made a half-hearted attempt in college but it never made it to a demo-able state....

View Article


Image may be NSFW.
Clik here to view.

Spot the Fail

.stf { width: 1000px; } .spoiler { padding: 14px 0; color: transparent; font-size: 1.2em; } .spoiler:before { content: "Hover for spoiler -->"; color: black; } .spoiler:after { content: "

View Article

Private Methods in JavaScript

Private Methods in JavaScript In JavaScript, we don't have private methods right? We must to resort to using this._somePrivateThing() right? Wrong. Before function Cell(x, y) { this.x = x; this.y = y;...

View Article


Image may be NSFW.
Clik here to view.

Pillagers! 7dRTS Game Development Journal

Pillagers! 7dRTS Game Development Journal I have decided to participate in the 7-Day Real Time Strategy Challenge, July 2013 edition. I am working with Michael Weber who will create sound effects,...

View Article

Image may be NSFW.
Clik here to view.

7dRTS Game Reviews

7dRTS Game Reviews We all have limited time. This is a guide to help you decide which 7dRTS games to play, and which you might unfortunately have to skip if you don't have time to play them all. It is...

View Article


Image may be NSFW.
Clik here to view.

I am not a "JavaScript Developer".

I am not a "JavaScript Developer". It seems that the tech world is trying to thrust upon me an identity which I do not hold. GitHub puts "JavaScript" right under my name: Here are snippets from actual...

View Article

JavaScript Callbacks are Pretty Okay

JavaScript Callbacks are Pretty Okay I've seen a fair amount of callback bashing on Hacker News recently. Among the many proposed solutions, one of them strikes me as particularly clean: "asynchronous...

View Article

Do Not Use bodyParser with Express.js

Do Not Use bodyParser with Express.js Note: this post has been edited to take into account TJ's diligent work in response to this. I came across this Google+ post mentioning this StackOverflow post in...

View Article
Browsing all 61 articles
Browse latest View live