Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Please Compile DF to ARM Architecture  (Read 2683 times)

izackp

  • Bay Watcher
    • View Profile
Please Compile DF to ARM Architecture
« on: March 25, 2013, 10:10:37 am »

Hi,
    I would really like to play dwarf fortress on the go with my tablet. I'm sure many other people would too. I dont imagine it would be difficult to port a text only mode of the linux DF build to the ARM architecture... If you don't want to do it, heck I would do it. Email me

isaac(a.t)justecho.com 
Logged

MonkeyHead

  • Bay Watcher
  • Yma o hyd...
    • View Profile
Re: Please Compile DF to ARM Architecture
« Reply #1 on: March 25, 2013, 10:15:48 am »

Ah, this old one again. Repeat after me: "The processor in my tablet would only run DF at a crawl, making the effort to translate the code a waste of time". Well done.
Logged
This is a blank sig.

izackp

  • Bay Watcher
    • View Profile
Re: Please Compile DF to ARM Architecture
« Reply #2 on: March 25, 2013, 10:23:27 am »

There are tablets running faster than my laptop with quad cores. None the less the effort should be nontrivial considering it isn't a crazy coded mess.. even then it shouldn't be too bad.

Source: Senior Mobile Developer (myself)
Logged

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Logged

izackp

  • Bay Watcher
    • View Profile
Re: Please Compile DF to ARM Architecture
« Reply #4 on: March 25, 2013, 03:17:54 pm »

Creating an iphone version would require porting the graphics code, file system code, and a bunch of iphone specific stuff. What I'm asking is to port the linux version with text only mode.. Which only requires removing the graphics code. I don't really want to debate anything or reasons why it won't happen. This is the suggestions section and I'm making meh suggestion.
Logged

zwei

  • Bay Watcher
  • [ECHO][MENDING]
    • View Profile
    • Fate of Heroes
Re: Please Compile DF to ARM Architecture
« Reply #5 on: March 27, 2013, 08:59:31 am »

Search before posting.  A preexisting thread came up from a simple search for "ARM architecture".

To be honest, that thread is 3 years old ...

Jokes about portale hardware not being powerfull enough for DF and iphones melting are no longer based on reality.

I would support ARM port purely because porting C application to alien architecture reveals many subtle bugs and leads to usefull refactoring.

Maklak

  • Bay Watcher
    • View Profile
Re: Please Compile DF to ARM Architecture
« Reply #6 on: March 27, 2013, 05:55:13 pm »

> I would support ARM port purely because porting C application to alien architecture reveals many subtle bugs and leads to usefull refactoring.

An x86_64 version would also help with this and might actually be faster and not crash during large worldgens. So I support it over ARM port.
Logged
Quote from: Omnicega
Since you seem to criticize most things harsher than concentrated acid, I'll take that as a compliment.
On mining Organics
Military guide for FoE mod.
Research: Crossbow with axe and shield.
Dropbox referral

betaking

  • Bay Watcher
    • View Profile
Re: Please Compile DF to ARM Architecture
« Reply #7 on: March 28, 2013, 09:17:30 am »

I would rather have DF be optimized for x64 architecture, (including multiple thread utilization). In addition to offloading processes to the GPU rather than place them all on the CPU.

Logged

JanusTwoface

  • Bay Watcher
  • murbleblarg
    • View Profile
    • jverkamp.com
Re: Please Compile DF to ARM Architecture
« Reply #8 on: March 28, 2013, 01:53:14 pm »

The problem with pretty much all of these is that while they're pretty much trivial for a well designed code base and someone that knows a bit about the process, DF and Toady are not particularly either one of these. From what I've heard, the code base is over a decade old and sort of a hybrid mess of C and C++. It works well enough and Toady has been working on it long enough that he can do what needs to be done with it, but I have a strong suspicion that it's not the cleanest code. Although it probably doesn't use anything too exotic at least, which should help with the cross compiling.

But the bigger problem (this applies even more to threading or GPU support) is that Toady just doesn't know how to do it. And so far as we've been able to tell, doesn't want to take the time to learn. Neither threading nor GPU is particularly easy to do right (and if you don't do it right, you're more likely than not to get no speed improvement while introducing painful to debug bugs).

I think of everything presented, compiling for 64-bit should be the easiest (some people have already done similar things with third party tools, IIRC) and probably has the most short term benefit, particularly if you try running Stonesense with DF (since they share the same memory pool now, I think?).
Logged
You may think I'm crazy / And I think you may be right
But life is ever so much more fun / If you are the crazy one

My blog: Photography, Programming, Writing
Novels: A Sea of Stars, Confession

roothorick

  • Escaped Lunatic
    • View Profile
Re: Please Compile DF to ARM Architecture
« Reply #9 on: March 30, 2013, 12:23:58 pm »

Ah, this old one again. Repeat after me: "The processor in my tablet would only run DF at a crawl, making the effort to translate the code a waste of time". Well done.

If my Turion64 X2 TL-60 laptop can run Dwarf Fortress, my Tegra 250 AP20H cellphone will only run it better, kthx.

That said, cellphone UI? blech.
Logged

MonkeyHead

  • Bay Watcher
  • Yma o hyd...
    • View Profile
Re: Please Compile DF to ARM Architecture
« Reply #10 on: March 30, 2013, 01:28:49 pm »

Ah, this old one again. Repeat after me: "The processor in my tablet would only run DF at a crawl, making the effort to translate the code a waste of time". Well done.

If my Turion64 X2 TL-60 laptop can run Dwarf Fortress, my Tegra 250 AP20H cellphone will only run it better, kthx.

That said, cellphone UI? blech.


*Googles the processors in said cellphone*

A max of 1GHz? Not bad.

*Googles processor in said laptop*

2 GHz...

On my laptop (2GHz processor) I still have to use small maps, turn off temperature and weather, and lower the PopCap to end up with a playable mid to late game fort. Whilst the phone processor would run DF reasonably well if you applied the same settings (dont know enough about RAM etc to make much more of a comment than that), I doubt it would be better than the Laptop.

But yea, it would seem ARM processors are catching up. Not quite there yet though.
Logged
This is a blank sig.