Reply
Thread Tools
Posts: 78 | Thanked: 10 times | Joined on Jul 2008
#1
I'm analyzing my options and would like to figure out the best tool for the job on the N810:

What would the general public here recommend for somewhat intensive network programming on the N810? I'm kind of thinking of sticking with C and plain jane sockets.

Any suggestions or input?
What's the most popular language that people are using?
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#2
"intensive"?

are we talking hundreds of connections or pushing lots of bits? You have to remember that on a good day the networking will probably top out at 1MB/s.
 
Posts: 78 | Thanked: 10 times | Joined on Jul 2008
#3
Apologies, I guess as the N810 will function as a client it doesn't require much. It's not even going to move a lot of data. So it doesn't need that much.

I'm still interested in knowing what everyone's favorites are though.

My biggest concern when evaluating options is complexity of the code. Things like multi threading in C scare the heck out of me - whereas I've made multi threaded clients & servers in Java and it's a snap.

I'm just interested in getting input.
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#4
As you have pointed out your main options are C and Python. The real advantage of python is good libraries, multi-threading isn't a nightmare, and ease of development in the short term.

Right now I've been developing in Python because it doesn't require a scratchbox install or cloning my install to the SD card. I keep in mind a possible switch to C when developing my apps by looking at ways to split it into a client (UI) and server (real work) over osso_rpc calls.
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#5
That may not even be necessary - on platforms that are not hardware-limited, some Python networking libs (like Twisted) are pretty impressive.
 
Posts: 78 | Thanked: 10 times | Joined on Jul 2008
#6
What kind of environments do you use when doing python programming for hildon/maemo?

What libs do you use? The tutorials I found so far are C-centric, so I'm not familiar with the inroads used when programming with python...
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#7
I use a linux desktop for "roughing out" the application and then I do the rest on tablet. It works pretty well like that except for debugging odd platform issues.

There are lots of python examples and for the most part it's a 1:1 mapping between C -> python library calls/objects.
 
Posts: 78 | Thanked: 10 times | Joined on Jul 2008
#8
Any links to tutorials? Maybe even official ones? Relating specifically to N810 development?

This sounds like something that may have already been asked...
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:06.