Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. For anybody wondering why I prefer #NetBSD over #Linux, compare the code for a small tool like whois(1):

For anybody wondering why I prefer #NetBSD over #Linux, compare the code for a small tool like whois(1):

Scheduled Pinned Locked Moved Uncategorized
netbsdlinux
1 Posts 1 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jschauma@mstdn.socialJ This user is from outside of this forum
    jschauma@mstdn.socialJ This user is from outside of this forum
    jschauma@mstdn.social
    wrote last edited by
    #1

    For anybody wondering why I prefer #NetBSD over #Linux, compare the code for a small tool like whois(1):

    NetBSD:
    https://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/whois/whois.c?annotate=HEAD

    372 lines, easy to read

    Linux:
    https://github.com/rfc1036/whois/blob/next/whois.c

    1617 lines in the main program; unchecked malloc(3), misc buffer overflow opportunities, magic numbers, "/* This function has multiple memory leaks.*/", mixed spaces and tabs, another 2K of glue code, ...

    KISS, man, KISS.

    1 Reply Last reply
    1
    0
    • R relay@relay.infosec.exchange shared this topic
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups