from Hacker News

Show HN: I made an interactive hex calculator in ncurses

by stdcall83 on 7/11/19, 6:22 PM with 20 comments

  • by kazinator on 7/11/19, 10:00 PM

    > Windows

    > No, wait. really ???

    Dev should check out https://www.kylheku.com/cygnal

    If you can compile this for Cygwin, you can deploy it as a native Windows application with Cygnal's fork of cygwin1.dll (plus other needed DLL's from Cygwin).

    Console support is fine; even programs that use termios and ANSI codes directly work in a Windows console (like out of cmd.exe).

    That was one of the primary motivations for Cygnal; I wanted a decent quality Windows port of a programming language with a well-developed REPL: something someone could just install from a regular installer, and then run out of cmd.exe with the same interactive experience as on Unixes.

  • by rhardih on 7/11/19, 9:27 PM

    What's this!? No Javascript runtime, no NPM package dependencies. Can software really be built without it?

    I jest of course. This is really cool and nice to see something like this, make the front page of HN for once!

  • by usmannk on 7/11/19, 7:24 PM

    This is awesome! It will be really helpful to me while reversing or doing CTFs. Previously I'd hack shit together in python to do this stuff one-off.
  • by mikroskeem on 7/11/19, 9:49 PM

    Finally, a modern application without Electron + big-js-framework bloat... Amazing job! Gets my star :)
  • by airstrike on 7/11/19, 7:57 PM

    This is really cool + extra points for the vi/vim keybindings
  • by jjoonathan on 7/11/19, 7:59 PM

    This might just replace the radare2 "?" command for me!
  • by cryptonector on 7/11/19, 10:57 PM

    Nice!
  • by asdfman123 on 7/11/19, 7:43 PM

    > hex calculator in ncurses

    Okay, you're pretty much asking for the wrath of God here. Bonus points if you can compile it down to 666 KB.