tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. w96k (w96k@fosstodon.org)'s status on Thursday, 21-Apr-2022 20:37:32 CEST w96k w96k
    • Ekaitz Zárraga 👹

    @ekaitz_zarraga gdb is great. I think debugger is a bit like repls and help to understand what's going on in the code, how compiler understands stuff. Tooling of C is quite hard too, maybe even harder than C itself.

    There is a language that as minimal as C, but with a lot of fixed issues of c. The name of that language is Oberon and it was developed by Wirth. Sadly it is not popular at all in unix-like systems, compilers are not even packaged anywhere.

    In conversation Thursday, 21-Apr-2022 20:37:32 CEST from fosstodon.org permalink
    • Ekaitz Zárraga 👹 repeated this.
    • w96k (w96k@fosstodon.org)'s status on Thursday, 21-Apr-2022 20:17:55 CEST w96k w96k
      • Ekaitz Zárraga 👹

      @ekaitz_zarraga I can program in anything except C. How to learn it, its tooling and stop experiencing suffering from bad macros, header file, pointers and lack of module system :(

      I wish to learn it to understand gnu software better. Maybe I could contribute to emacs with c knowledge.

      In conversation Thursday, 21-Apr-2022 20:17:55 CEST permalink
    • w96k (w96k@fosstodon.org)'s status on Thursday, 21-Apr-2022 20:33:02 CEST w96k w96k
      • Ekaitz Zárraga 👹

      @ekaitz_zarraga I dunno, C is so damn simple, so when I look to glibc I can't understand anything because it has tons of macros. Maybe I have a bad expression only because I was looking at gnu code, I've seen several a critique several times how complex gnu software is compared to lets say openbsd. Also C feels clumsy after learning lisps, because it lacks REPL and runtime self modifying and self inspecting abilities.

      In conversation Thursday, 21-Apr-2022 20:33:02 CEST permalink
    • Adrián Pérez (aperezdc@mastodon.social)'s status on Thursday, 21-Apr-2022 21:13:01 CEST Adrián Pérez Adrián Pérez
      in reply to
      • Ekaitz Zárraga 👹

      @w96k @ekaitz_zarraga if you want a C++/C interpreter, there's Cling, I hear it's good: https://root.cern/cling/

      I also agree that while other languages can be more convenient or easier to write, when it comes to understanding the whole language and how it maps to actual code that the machine runs (modulo compiler optimizations), then C is the only one that I can really grasp. For good and for bad, C (the language) is somewhat simple.

      In conversation Thursday, 21-Apr-2022 21:13:01 CEST permalink
      Ekaitz Zárraga 👹 repeated this.
    • Cyborg Anthropologist (jmw150@qoto.org)'s status on Friday, 22-Apr-2022 12:24:45 CEST Cyborg Anthropologist Cyborg Anthropologist
      in reply to
      • Ekaitz Zárraga 👹
      • Adrián Pérez

      @aperezdc @w96k @ekaitz_zarraga

      Also this, which works more in general, but with performance loss to compiler time.

      https://m.youtube.com/watch?v=vzKKKdK7eDA

      In conversation Friday, 22-Apr-2022 12:24:45 CEST permalink
      Ekaitz Zárraga 👹 repeated this.
    • Adrián Pérez (aperezdc@mastodon.social)'s status on Friday, 22-Apr-2022 12:24:54 CEST Adrián Pérez Adrián Pérez
      in reply to
      • Ekaitz Zárraga 👹
      • Cyborg Anthropologist

      @jmw150 @w96k @ekaitz_zarraga that looks cool, and definitely smaller than Cling. If compilation speed is an issue, for plain C one could configure it to use tcc instead of GCC/Clang :blobcatcoffee:

      In conversation Friday, 22-Apr-2022 12:24:54 CEST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.