Mihalis Tsoukalos
@mactsouk
Followers
933
Following
395
Media
2K
Statuses
9K
Technical writer + Systems Engineer. Author of Go Systems Programming, Mastering Go (https://t.co/0HeL6WdvgB), Time Series Indexing. #golang #timeseries #photos
Greece
Joined July 2012
Excited to announce the release of "Mastering Go, 4th edition"! Dive deep into #GoLang with this comprehensive guide, packed with advanced techniques, best practices, and real-world examples. Get your copy at https://t.co/0HeL6WdvgB
@PacktPublishing @PacktAuthors
amazon.com
0
10
21
Wrote a blog post explaining atomic operations in @ziglang. It is a multithreaded counter demo: 4 threads, 400k increments, zero locks, perfect result every time. Zig makes concurrency feel dangerously simple—and actually safe: https://t.co/4Gqum1kV3F
#programmingconcepts #zig
mtsoukalos.eu
Zig continues to gain attention among systems programmers for its promise of simplicity, performance, and safety without the baggage of hidden control flow. One of the best ways to appreciate these...
0
0
2
"A clever person solves a problem. A wise person avoids it." or if you prefer "A clever person gets out of a situation that a wise person would never get into." #MotivationalQuotes
0
0
2
Just wrote a small @ZigLang program that acts like the `ls(1)` UNIX command. Find out more at https://t.co/55MCxAqW0h
#programmingtutorial
mtsoukalos.eu
In Zig, the two main ways to open a directory — std.fs.cwd().openDir() and std.fs.openDirAbsolute() — differ primarily in how they interpret the path you give them. std.fs.cwd().openDir(path, flags)...
0
1
4
"A cat that dreams of becoming a lion must begin with losing appetite for rats." –– African Proverb #Motivation
0
0
1
Just wrote a blog post explaining how to turn a relative path into an absolute one in @ziglang — the C way vs the Zig way. Learn more at https://t.co/9NQbJ3sh3C
#ziglang #programming #unix
mtsoukalos.eu
const std = @import("std"); const c = @cImport({ @cInclude("stdlib.h"); @cInclude("errno.h"); }); extern var errno: c_int; pub fn main() !void { const allocator = std.heap.page_allocator; const args...
0
2
4
Wanna know exactly how slow your @ziglang code is? Read my blog post to find out: https://t.co/FpqPgzQcup
#ZigLang #Performance
mtsoukalos.eu
This simple Zig program demonstrates how to measure the execution time of a piece of code with nanosecond precision using the standard library’s built-in high-resolution timer. const std = @import(...
0
2
4
A small @ziglang program that shows how to print the UNIX Epoch time and the current month and year: https://t.co/ugWjVJYbXn
#ZigLang #programmingtricks
mtsoukalos.eu
This small Zig program demonstrates several ways to retrieve and display the current date and time, mixing Zig’s standard library with direct calls to the C standard library — a common and powerful...
1
1
4
Check out my latest blog post on calculating the Euclidean distance of two random vectors. See @ziglang clean syntax and memory management in action: https://t.co/ywcJqyH3TY
#ZigLang #Programming
mtsoukalos.eu
This program calculates the Euclidean distance between two randomly generated vectors of 64-bit floats—think of it as measuring the straight-line distance in multi-dimensional space, a fundamental...
1
2
5
0
0
3
I dedicate this win to the wonderful people of Greece. You support me, you support tennis, you’ve made me feel at home 🙏🏼. Huge gratitude also to everyone who made this beautiful new tournament so special. Σας ευχαριστώ, για όλα To Lorenzo, what an epic battle. Congratulations
792
3K
39K
Just wrote a handy little CLI tool in @ziglang to check file permissions from the terminal! It is a great exercise in using the Zig Standard Library: https://t.co/IUuN8o201O
#zig #Programming #developerlearning Enjoy!
mtsoukalos.eu
This Zig program is a command line utility designed to read and display the file permissions of a single file specified as an argument: const std = @import("std"); pub fn main() !void { const...
0
1
2
"You will not achieve anything bigger than your wildest dreams. So why not dream BIG?" #DreamBig #Motivation
0
1
2