Web Bilder Videos Maps News Shopping Google Mail Mehr »
Kürzlich besuchte Gruppen | Hilfe | Anmelden
Google Groups-Startseite
port of Empire to java
Gegenwärtig gibt es mehrere Themen in dieser Gruppe, die zuerst angezeigt werden sollen. Damit dieses Thema zuerst angezeigt werden kann, muss diese Option bei einem anderen Thema entfernt werden.
Bei der Bearbeitung Ihrer Anfrage ist ein Fehler aufgetreten. Versuchen Sie es erneut.
Kennzeichnen
  9 Nachrichten - Alle ausblenden  -  Alles übersetzen in die Sprache: Übersetzt (alle Originale anzeigen)
Bei der Gruppe, für die Sie eine Mitteilung verfassen, handelt es sich um eine Usenet-Gruppe. Wenn Sie in dieser Gruppe Nachrichten posten, ist Ihre E-Mail-Adresse für jeden im Internet sichtbar
Ihre Antwort wurde nicht gesendet.
Die Nachricht wurde übermittelt.
 
Von:
An:
Cc:
Nachtrag zu:
Cc hinzufügen | Nachtrag hinzufügen zu | Betreff bearbeiten
Betreff:
Bestätigung:
Geben Sie zur Bestätigung die im folgenden Bild angezeigten Zeichen oder die durchgesagten Zahlen ein, indem Sie auf das Eingabesymbol klicken. Hören Sie zu und geben Sie die gehörten Zahlen ein
 
khstev...@gmail.com  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 9 Okt. 2007, 05:14
Newsgroups: rec.games.empire
Von: khstev...@gmail.com
Datum: Mon, 08 Oct 2007 20:14:19 -0700
Lokal: Di 9 Okt. 2007 05:14
Betreff: port of Empire to java
I'm curious in the last 15 years (while I've been away) how many
attempts to port Empire to java have there been, and did anyone get
very far...

80,000 lines of code is daunting.  plnsub.c alone is 1282 lines of
very dense code...

Buster,
ruler of children


    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
drake.diedrich@gmail.com  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 10 Okt. 2007, 20:37
Newsgroups: rec.games.empire
Von: "drake.diedr...@gmail.com" <drake.diedr...@gmail.com>
Datum: Wed, 10 Oct 2007 18:37:39 -0000
Lokal: Mi 10 Okt. 2007 20:37
Betreff: Re: port of Empire to java
On Oct 8, 8:14 pm, khstev...@gmail.com wrote:

> I'm curious in the last 15 years (while I've been away) how many
> attempts to port Empire to java have there been, and did anyone get
> very far...

> 80,000 lines of code is daunting.  plnsub.c alone is 1282 lines of
> very dense code...

> Buster,
> ruler of children

   When Java was new and just available in the browsers, I wrote an
emp_client-equivalent Java client that could be served from the same
machine as the emp_server, and worked in an emergency.  I think I
lightly modded some mud client.  A couple years later someone (maybe a
CCCPer) wrote a graphical Java client with parsing and tools, but I
don't think it was finished or released.

   Java is so 90's though, it may make a retro comeback.  Web 2.0
Javascript if you're still stuck in 2000, and if you live in the Now,
ActionScript!!!

-harmless
   (decades back now and still using C and Perl)


    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
khstev...@gmail.com  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 12 Okt. 2007, 22:30
Newsgroups: rec.games.empire
Von: khstev...@gmail.com
Datum: Fri, 12 Oct 2007 13:30:24 -0700
Lokal: Fr. 12 Okt. 2007 22:30
Betreff: Re: port of Empire to java
On Oct 9, 3:23 am, Markus Armbruster <arm...@pond.sub.org> wrote:

I hear you.  I think if it were ported, it would need to be idiomatic
Java.  The code's pretty hard to read right now.  It's like a bucket
of highly polished ball-bearings.  Each code snippit is highly
optimized for minimal footprint.  But obviously the memory, disk, and
CPU constraints that existed at the time Empire was written have long
since departed.  Bitmaps are way cool, but way hard to read.

It's tough to justify such an effort since we already have a perfectly
functioning Empire server, and supposedly at the end of this Herculean
effort, you'd be right back where you started.  But I could see
someone crazy like myself doing it just purely as a labour of love.  I
love Java and I love Empire.  It would open up the source code to a
whole new generation of programmers who don't understand all that C
voodoo.  And it could potentially open up Empire to a new generation
of clients (Flex, AJAX, SOAP, etc.)

For 64,000 lines of code, I wonder how many hours it would take to
translate each 1000 lines into Java.  Including debugging, testing,
iterative framework refactoring, I could imagine something in the
neighbourhood of 40 hours per 1000 lines of code.  If I had 2 hours a
night to work on it, that would add up to...3.5 years.  Hmm.  That's a
lot of dedication.  I'm not sure I have that much love for Empire.  It
would be fun though...

Ken


    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
khstev...@gmail.com  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 12 Okt. 2007, 22:32
Newsgroups: rec.games.empire
Von: khstev...@gmail.com
Datum: Fri, 12 Oct 2007 13:32:25 -0700
Lokal: Fr. 12 Okt. 2007 22:32
Betreff: Re: port of Empire to java

>    Java is so 90's though, it may make a retro comeback.  Web 2.0
> Javascript if you're still stuck in 2000, and if you live in the Now,
> ActionScript!!!

I've been working at a software consultancy for the past number of
years, and every large organization I go into does the majority of
their software development in Java.  For enterprise software
development, it is the dominant programming language right now.

    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Gerry Murphy  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 13 Okt. 2007, 13:55
Newsgroups: rec.games.empire
Von: "Gerry Murphy" <gerrymur...@comcast.net>
Datum: Sat, 13 Oct 2007 07:55:33 -0400
Lokal: Sa 13 Okt. 2007 13:55
Betreff: Re: port of Empire to java

<khstev...@gmail.com> wrote in message

news:1192221024.516853.287590@i38g2000prf.googlegroups.com...

<snip a bit>

> For 64,000 lines of code, I wonder how many hours it would take to
> translate each 1000 lines into Java.  Including debugging, testing,
> iterative framework refactoring, I could imagine something in the
> neighbourhood of 40 hours per 1000 lines of code.  If I had 2 hours a
> night to work on it, that would add up to...3.5 years.  Hmm.  That's a
> lot of dedication.  I'm not sure I have that much love for Empire.  It
> would be fun though...

> Ken

One data point based on a real world example:
For a 60K line code base porting from 16-bit windows to 32-bit, 3 man
months.
And for the three man team involved it did scale.  Larger teams would no
doubt
run into the Mythical Man Month problem.

Some rough math, if we recon the number of hours in a work year at 2000, as
is
commonly done, 3 months works out to 500 hours.  That's about 8,3 hours
per 1000.  Call it one day, which agrees pretty closely with what I estimate
I
can rewrite in a day ( for a code base I'm very familiar with ), though not
at that
pace for an extended period.

But that's working full time and represents a port, not a rewrite to another
language,
with a team experienced with the codebase.  Anybody have a handle on what
sort
of factor to multply that by for a rewrite to another language?

That said I'd suggest first rewriting it in up to date C, removing all the
clever optimizations
that were needed back then but which have been overtaken by Moore's Law and
make
the code hard to read.  ( I'm a firm believer in the K.I.S.S. principle. )

Just my $.02.

Gerry Murphy


    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Gerry Murphy  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 13 Okt. 2007, 13:56
Newsgroups: rec.games.empire
Von: "Gerry Murphy" <gerrymur...@comcast.net>
Datum: Sat, 13 Oct 2007 07:56:51 -0400
Lokal: Sa 13 Okt. 2007 13:56
Betreff: Re: port of Empire to java

"Markus Armbruster" <arm...@pond.sub.org> wrote in message

news:87zlyncqym.fsf@pike.pond.sub.org...

Totally agree.

> The basic design of the server is sound[*], but dated.  I'm not
> talking about details like bitmaps here.  I'm talking about truly
> fundamental things like storage, concurrency and keeping logic and
> presentation separate.  I could elaborate, if anybody's interested.

Please do.

    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Tom Johnson  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 14 Okt. 2007, 01:23
Newsgroups: rec.games.empire
Von: "Tom Johnson" <123thjohnson1104remove...@verizon.net>
Datum: Sat, 13 Oct 2007 19:23:39 -0400
Lokal: So 14 Okt. 2007 01:23
Betreff: Re: port of Empire to java

> That said I'd suggest first rewriting it in up to date C, removing all the
> clever optimizations
> that were needed back then but which have been overtaken by Moore's Law
> and
> make
> the code hard to read.  ( I'm a firm believer in the K.I.S.S. principle. )

There is nothing preventing this from happening to make it more
manageable, portable and translatable.  If we cannot coordinate
incrementals steps such as this, we will never get enough
momentum to rewrite the whole server.  The same is true of
the structural deficiencies Markus indicated were in the server.
It could occur as more of an evolution.

Tom


    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Ken Stevens  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 14 Okt. 2007, 17:53
Newsgroups: rec.games.empire
Von: Ken Stevens <khstev...@gmail.com>
Datum: Sun, 14 Oct 2007 08:53:27 -0700
Lokal: So 14 Okt. 2007 17:53
Betreff: Re: port of Empire to java
On Oct 14, 7:38 am, Markus Armbruster <arm...@pond.sub.org> wrote:

I agree that Java is a pain compared with C.  I see primarily two
differences between the two languages.
1) C is a dying arcane language, that only elite programmers can
safely code in.  Java is a living language, growing by the thousands
every year.
2) Java is a social language.  I can walk up to a huge, complex system
written in Java and within a couple of hours understand it and safely
enhance it.  C was not designed with social goals--it was designed to
be efficient.

20 years ago we'd be arguing about how the C compiler is a strict old
aunt compared to the scribbles of assembly language...

Empire would have a better chance of survival if it were written in a
language that future coders could support.  And there's no question in
my mind that Java code is far more flexible and maintainable than a
brittle old language like C.

That being said, I agree with Tom that at this point, incremental
improvements are more worthwhile than rewrite attempts.


    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
john.wool...@gmail.com  
Profil anzeigen   Übersetzen in die Sprache: Übersetzt (Original anzeigen)
 Weitere Optionen 16 Okt. 2007, 21:45
Newsgroups: rec.games.empire
Von: john.wool...@gmail.com
Datum: Tue, 16 Oct 2007 12:45:18 -0700
Lokal: Di 16 Okt. 2007 21:45
Betreff: Re: port of Empire to java
Nooooeeeessss!

Ok it had to be said :)

I have done C/C++ to java ports before but never ones from C this
old.

I have converted parts of various games that are email based to java
but I don't have the patience anymore to complete it. I have converted
our core product from C/C++ to java. Once I realized that you can
actually make static functions it didn't go too badly.

I suppose what I am saying is I would be willing to help in either
writing a socket based server to communicate with or mass conversion
of C code to Java. I am not willing to lead the project or be
responsible for completing it.

John
Beer Trader Production Supervisor and Diplomat
children

PS Next time I am choosing the race name Buster :P

Skull Crushers or Bier of Doom. Now those are empire names. Too bad
Bier of Doom won't fit the next game theme.

Snarrf
Ruler of Rulers.
You know the one with centimeters on them. Or inches for the luddites.

On Oct 8, 11:14 pm, khstev...@gmail.com wrote:


    Antwort an Autor    Weiterleiten  
Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Ende der Nachrichten
« Zurück zu Diskussionen « Neueres Thema     Älteres Thema »

Eine Gruppe erstellen - Google Groups - Google-Startseite - Nutzungsbedingungen - Datenschutzbestimmungen
©2009 Google