Threadwell

Recent Notes

  • DemetriSpanos

    Oct 06, 2026

    • archive
    • twitter
    • demetrispanos
  • NOTimothyLottes

    Oct 06, 2026

    • archive
    • twitter
    • notimothylottes
  • bonzajplc

    Oct 06, 2026

    • archive
    • twitter
    • bonzajplc
Home

❯

Archive

❯

Threads

❯

SebAaltonen

❯

Somebody asked why you can't return arrays (dynamic sized data) in C.

❯

@SebAaltonen What if we had some kind of special syntax sugar, which is later split into two calls.

@SebAaltonen What if we had some kind of special syntax sugar, which is later split into two calls.

Properties5
typearchive
sourcetwitter
date2023-09-04
tagsarchive, twitter, sebaaltonen
description@SebAaltonen What if we had some kind of special syntax sugar, which is later split into two calls.

Sep 04, 20231 min read

  • archive
  • twitter
  • sebaaltonen

Source

  • URL: https://x.com/iiSatana/status/1698552092376359327
  • Author: смертельный порошок извращений (@iiSatana)
  • Posted: 2023-09-04 04:22:31

Branch

1/ @iiSatana

@SebAaltonen

What if we had some kind of special syntax sugar, which is later split into two calls. First returns a size, codegens for allocation on a caller stack, then second call writes to that space.

Related

  • Spine: 2023-09-03-somebody-asked-why-you-cant-return-arrays-dynamic

Graph View

  • Source
  • Branch
  • Related

Backlinks

  • Somebody asked why you can't return arrays (dynamic sized data) in C.

Created with Quartz v5.0.0 © 2026

  • GitHub