|
You are here |
blog.molecular-matters.com | ||
| | | | |
thasso.xyz
|
|
| | | | | My personal blog about things I find interesting. Hit me up! | |
| | | | |
erikmcclure.com
|
|
| | | | | What exactly happens when you write Foo* foo = new Foo();? A lot is packed into this one statement, so lets try to break it down. First, this example is allocating new memory on the heap, but in order to understand everything that's going on, we're going to have to explain what it means to declare a variable on the stack. If you already have a good understanding of how the stack works, and how functions do cleanup before returning, feel free to skip to the new statement. | |
| | | | |
ciesie.com
|
|
| | | | | Today I've played around with Zig, the new, hip (is it hip?) programming language. I find it pretty neat. I'm going to walk you (and myself) through my first, very short, piece of code. Below you can see the entirety of it. It basically allocates a 2MB buffer and reads a file into it... Yep, not particularly impressive, but this is a judgment free, learning zone, ok?! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 const std = @import("std"); const warn = @import("std"). | |
| | | | |
studiofreya.org
|
|
| | | [AI summary] A beginner's tutorial on how to install Java 9, set up the JDK environment variable, and run a Hello World program using Eclipse and the command line. | ||