On 7/12/15, James Fuller <jcfulle...@gmail.com> wrote:
> Eric,
>   I would love to see Iup on Pi.
> I had issues with Raspbian and Gtk-3 so I went with Ubuntu Mate.
> Here is my first attempt. I do plan to get back to it but am side tracked
> for a bit.
>
> http://www.bcxbasic.com/smf/index.php?topic=918.0
>
> James
>

So my experience with Iup on Pi has been extremely positive so far.
The only challenge for me has been figuring out the Makefile. In terms
of actual functionality, everything I've tried so far seems to work
well. Basically, I'm just sticking to GTK2 on Raspbian. I haven't hit
any problems.


Keep in mind that this is my very first time with Iup and I've only
just started working with it as of 2 weeks ago. I am also only using
Iup core and none of the additional libraries. I am using pure C. (I'm
mostly trying to avoid too many dependencies as I try to get
everything sorted out.)

As it stands, the RAM footprint for my app is around 23MB (RSS field).
gcalulator is about 15MB and gpicview is about 22MB. My app has a few
images, and I'm still in that ballpark, so I'm pretty pleased. For
comparison, the Qt Quick app I was coming from on x64 Linux had a RAM
footprint of around 75MB.

The disk footprint is also reasonable. Iup itself is under 1MB. My
biggest dependency is actually SDL (1.7MB), which is overkill for this
app, but this tool is a utility for a game engine I'm developing where
SDL is the foundation of everything, so it isn't that out of place.
I'm using SDL for image loading (since I am not using anything but
core Iup right now) and some core functionality (standard library
wrappers, file paths to resources.) I had to write my own
cross-platform file system APIs and process forking. Kind of annoying,
but I needed them for my game engine anyway. Maybe I should have used
Apache Runtime, but it has way more stuff than I want. So with all my
libraries and image assets, I'm under 4MB. For comparison, the Qt
Quick app was over 60MB on x64 Linux. (And the C++ dynamic linking
really made me nervous because I've been bit by C++ ABI breakage in
the past.)

Performance seems fine so far. Nothing seems sluggish. I did notice
that resizing windows on Pi does not live resize. (Everything updates
when you release the mouse button.) But I think that is the desktop
environment, not Iup. (I am simultaneously developing this on Ubuntu
x64 Linux and Windows and they live resize.)


So I'm pretty pleased overall. My biggest gripe/concern is the lack of
native Mac Cocoa. That was actually the main reason I haven't tried
Iup until now. Qt's inability to work on the Pi for me is what forced
me to look at Iup. And Iup 'just worked'. Unfortunately, Mac is really
important to me, so I haven't decided how I'm going to deal with this.

-Eric

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to