8 Replies - 3193 Views - Last Post: 23 May 2011 - 10:36 AM

#1 v0rtex   User is offline

  • Caffeine: db "Never Enough!"
  • member icon

Reputation: 223
  • View blog
  • Posts: 773
  • Joined: 02-June 10

Is it practical to code applications featuring a GUI in assembly?

Posted 21 May 2011 - 06:51 AM

Hey all,
I have done quite a bit of console assembly coding(Using nasm and gcc) and was just wondering is it practical for me to attempt to code full blown applications in Assembly with a GUI etc... I believe it will allow me to truly understand how my Java programs (with Swing GUI) work and I think it would be beneficial but I am wondering is it worth the time and effort and if so then where do you suggest I start?
Note: I'm running 32 bit Linux mint atm with GNOME

This post has been edited by v0rtex: 21 May 2011 - 06:52 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Is it practical to code applications featuring a GUI in assembly?

#2 Asusultra   User is offline

  • New D.I.C Head
  • member icon

Reputation: 7
  • View blog
  • Posts: 39
  • Joined: 24-March 09

Re: Is it practical to code applications featuring a GUI in assembly?

Posted 21 May 2011 - 09:00 AM

First, of course it is worth it if you learn from it :) I've done some of my own to better understand the basics of programming such as the ultimate outcome of writing if/for loops and the like.

Other than that, I know of some frameworks out there that allow you to program in assembly much like that of winForms but..you are using Linux. I apologize for the lack of helpful info heh.

This post has been edited by Asusultra: 21 May 2011 - 09:00 AM

Was This Post Helpful? 0
  • +
  • -

#3 v0rtex   User is offline

  • Caffeine: db "Never Enough!"
  • member icon

Reputation: 223
  • View blog
  • Posts: 773
  • Joined: 02-June 10

Re: Is it practical to code applications featuring a GUI in assembly?

Posted 21 May 2011 - 09:17 AM

Nah, thats ok. Atleast you have somewhat motivated me to learn, if anyone else has an opinion on this or a way for me to start then post plz :)
Was This Post Helpful? 0
  • +
  • -

#4 Asusultra   User is offline

  • New D.I.C Head
  • member icon

Reputation: 7
  • View blog
  • Posts: 39
  • Joined: 24-March 09

Re: Is it practical to code applications featuring a GUI in assembly?

Posted 21 May 2011 - 10:06 AM

Hesitant to do this BUT: http://coding.derkei...1/msg00421.html

its a 2006 post and relies on XWindows.

2007 using GTK on Linux: http://coding.derkei...10/msg00676.pdf

This is the best I've found so far.

This post has been edited by Asusultra: 21 May 2011 - 10:09 AM

Was This Post Helpful? 1
  • +
  • -

#5 GunnerInc   User is offline

  • "Hurry up and wait"
  • member icon




Reputation: 925
  • View blog
  • Posts: 2,363
  • Joined: 28-March 11

Re: Is it practical to code applications featuring a GUI in assembly?

Posted 21 May 2011 - 10:11 AM

I write all my programs in Win32 Assembly and they all have GUI's. Never really used the console. As, Windows has the API that you basically just call to create a window, dialogs also make it a breeze.

You would have to pick which library (is that what it is called in Linux?) you want to use... X Server, GTK, WxWidgets etc... I would start with GTK (I will eventually head over to Linux and write some Asm apps there) GUI programming isn't as scary as anything is the first time... there are many tuts on the net... Plus everyone here to help!
Was This Post Helpful? 0
  • +
  • -

#6 v0rtex   User is offline

  • Caffeine: db "Never Enough!"
  • member icon

Reputation: 223
  • View blog
  • Posts: 773
  • Joined: 02-June 10

Re: Is it practical to code applications featuring a GUI in assembly?

Posted 21 May 2011 - 10:37 AM

Thanks guys, will definitely look into it soon :) I will start with GTK, lots of tutorials on it around the net!
Was This Post Helpful? 0
  • +
  • -

#7 v0rtex   User is offline

  • Caffeine: db "Never Enough!"
  • member icon

Reputation: 223
  • View blog
  • Posts: 773
  • Joined: 02-June 10

Re: Is it practical to code applications featuring a GUI in assembly?

Posted 21 May 2011 - 02:54 PM

Found: http://coding.derkei...10/msg00676.pdf very helpful, Thanks!
Was This Post Helpful? 0
  • +
  • -

#8 GunnerInc   User is offline

  • "Hurry up and wait"
  • member icon




Reputation: 925
  • View blog
  • Posts: 2,363
  • Joined: 28-March 11

Re: Is it practical to code applications featuring a GUI in assembly?

Posted 21 May 2011 - 04:03 PM

Here are some links for you:
http://tronche.com/gui/x/xlib/
http://tronche.com/g.../xlib-tutorial/
http://live.gnome.org/Glade/Tutorials
http://developer.gno...rg/gladeui/3.6/
http://www.fifi.org/...ml/gtk_tut.html

don't forget: http://www.gtk.org/
Was This Post Helpful? 0
  • +
  • -

#9 v0rtex   User is offline

  • Caffeine: db "Never Enough!"
  • member icon

Reputation: 223
  • View blog
  • Posts: 773
  • Joined: 02-June 10

Re: Is it practical to code applications featuring a GUI in assembly?

Posted 23 May 2011 - 10:36 AM

Thanks a lot GunnerInc, very helpful links :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1