Author Topic: Linux GUI?  (Read 18557 times)

Offline KusaNoKaito

  • Jr. Member
  • *
  • Posts: 3
Linux GUI?
« on: February 07, 2010, 04:42:00 AM »
I recently began to migrate to NASM from other languages for the power and flexibility of assembler.

I have read elsewhere that it is possible to write gui apps for MS windows, but is it also possible to write GUIs for the x window system in linux?

Thanks and sorry if this is a stupid question.
May the source be with you

Offline Bryant Keller

  • Forum Moderator
  • Full Member
  • *****
  • Posts: 360
  • Country: us
    • About Bryant Keller
Re: Linux GUI?
« Reply #1 on: February 07, 2010, 06:50:12 AM »
Yes, it's totally possible. Not long ago I posted an update of Keith Kanios' X.INC file which is used in the process of developing XLib applications. If you want to do graphical linux apps, I suggest you read the XLib documentation and grab that file.

Keith's X.INC - http://www.asmcommunity.net/board/index.php?topic=29543.0
XLib Manual - http://tronche.com/gui/x/xlib/

Regards,
Bryant Keller

About Bryant Keller
bkeller@about.me

Offline KusaNoKaito

  • Jr. Member
  • *
  • Posts: 3
Re: Linux GUI?
« Reply #2 on: February 07, 2010, 07:11:47 AM »
Thanks for the quick reply and documentation!

Looks as if i'll be using NASM as my primary language for open source development.  ;D
May the source be with you

Offline Bryant Keller

  • Forum Moderator
  • Full Member
  • *****
  • Posts: 360
  • Country: us
    • About Bryant Keller
Re: Linux GUI?
« Reply #3 on: February 07, 2010, 09:23:51 PM »
No problem.

To be completely honest, other than "toys" I don't really do much XLib in NASM. I prefer to use C for my GUI stuff then call imported assembly routines from there. However, that's partly due to my view of GUI's as being nothing more than "decoration" and a completely useless extension to software. I regularly write console applications then create a front-end GUI for those console apps. But really, that's just a personal view and if you want to do GUI stuff in NASM, it is of course very possible (not really any harder either). :)

About Bryant Keller
bkeller@about.me