Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Petr Viktorin

@encukou@mastodon.social
mastodon 4.8.0-nightly.2026-10-06
  • Open on mastodon.social
0 Followers
0 Following
6 Posts
Joined May 23, 2023
Open post
Petr Viktorin @encukou@mastodon.social
· 5mo ago
Replying to
@christophehenry@mastodon.social Not necessarily; if you learn assembly, C++, or Rust, you'll get the concepts as well. But also, in code where locality or SIMD matter, C will be extremely similar to C++ or (unsafe) Rust. And you'll be staring at assembly when optimizing it, regardless of language. No need to learn quirks of the C preprocessor or dark corners of libc, of course -- other languages are better at that, including Python. But "learning C == learning pointers" is a reasonable simplification.
2
0
0
0
Open post
Petr Viktorin @encukou@mastodon.social
· 3mo ago
Replying to
@arfisk@aus.social They just... um, found it! Right? It was buried, in a ... potato field! They were digging up potatoes as a side quest, you see, and found treasure. Very lucky, right? https://www.peppercarrot.com/en/miniFantasyTheater/055.html
55. The Potatoes Quest - Pepper&Carrot
Pepper&Carrot

55. The Potatoes Quest - Pepper&Carrot

Official homepage of Pepper&Carrot, a free(libre) and open-source webcomic about Pepper, a young witch and her cat, Carrot. They live in a fantasy universe of potions, magic, and creatures.

1
2
0
0
Open post
Petr Viktorin @encukou@mastodon.social
· 34mo ago
Replying to

@b0rk@social.jvns.ca This makes the third way look like an internal detail, but to me, "current state of the branch" is useful. git show BRANCHNAME or a GitHub .../BRANCHNAME/FILENAME URL look at a branch this way.

1
2
0
0
Open post
Petr Viktorin @encukou@mastodon.social
· 5mo ago
Replying to
@nedbat@hachyderm.io @christophehenry@mastodon.social You don't need to understand stack vs. heap to make a web app, no. But you probably do need it before diving into SIMD. And C is still the best tool for *learning* stack vs. heap. Mostly because it lets you make catastrophic mistake easily, rather than give you tools to prevent them (C++) or require those tools (Rust).
0
1
0
0
Open post
Petr Viktorin @encukou@mastodon.social
· 5mo ago
Replying to

@itamarst File a bug for stdlib? Meanwhile you can use the cgroups2 CPU bandwidth API: read two numbers from /sys/fs/cgroup/cpu.max, divide, round up. https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#:~:text=cpu.max

kernel.org
0
0
0
0
Open post
Petr Viktorin @encukou@mastodon.social
· 5mo ago
Replying to
@nedbat@hachyderm.io @christophehenry@mastodon.social Hmm, the article points out the enormous effort CPU designers put into maintaining the interface (assembly). You need to know pointers and stack vs. heap, before you go exploiting implementation detailsm (e.g. avoiding pointer chasing) -- like you needed to know function calls in Python2 before starting to avoid them for efficiency.
0
1
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 10:39:07 UTC