NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
VisiCalc Reconstructed (zserge.com)
tracker1 7 minutes ago [-]
Kinda cool to see... TBH, I'd be more inclined to reach for Rust and Ratatui myslf over C + ncurses. I know this would likely be a much larger executable though.

With MS Edit resurrected similarly, I wonder how hard it would be to get a flushed out text based spreadsheet closer in function to MS Excel or Lotus 123 versions for DOS, but cross platform. Maybe even able to load/save a few different formats from CSV/TSV to XLSX (without OLE/COM embeds).

afandian 21 minutes ago [-]
Quote:

  #define MAXIN 128  // max cell input length
  enum { EMPTY, NUM, LABEL, FORMULA };  // cell types
  struct cell {
    int type;
    float val;
    char text[MAXIN];  // raw user input
  };
  #define NCOL 26    // max number of columns (A..Z)
  #define NROW 50    // max number of rows
  struct grid {
    struct cell cells[NCOL][NROW];
  };
I doubt that 171 KB of static allocation would fly on an Apple II! I do wonder how they did memory allocation, it must have been tricky with all the fragmentation.
bonsai_spool 22 minutes ago [-]
Are there good command-line interfaces for spreadsheets? I don't do anything super financially-important and I'd prefer to stay in the terminal for quick editing of things, especially if I can have Vi keybindings.
chungy 59 seconds ago [-]
Emacs with org-mode and evil-mode seems to be up your alley.
rauli_ 12 minutes ago [-]
I actually created one for some time ago. It's nothing special but it has Vi keybindings.

https://github.com/RauliL/levite

vslira 8 minutes ago [-]
This is brilliant! Thank you for creating it
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 16:14:54 GMT+0000 (Coordinated Universal Time) with Vercel.