From: CoolProgrammer <clu...@ya...> - 2000-08-18 22:15:14
|
Java is a little too limited--it doesn't support file access unless it's signed digitally or downloaded and run as an application. In addition, Java supports no low-level hard drive access, which would be required to format a partition or make new partitions. ~CoolProgrammer --------------------------------------------- DO NOT REPLY TO THIS MESSAGE BY EMAIL! --------------------------------------------- You have chosen to receive messages from "mentalunix" by email. Reply to this message: http://clubs.yahoo.com/clubs/mentalunix/bbsfrp?action=r&tid=mentalunix&sid=1600006580&mid=312 Unsubscribe from the Club mailing list: http://clubs.yahoo.com/clubs/mentalunix/config/change_mb_list Return to "mentalunix": http://clubs.yahoo.com/clubs/mentalunix ---------------------------------------------- Not a member? Remove yourself from this list: http://edit.clubs.yahoo.com/config/unsubscribe_mb_list?.userID=munix_devr&.groupID=mentalunix&.groupType=&.code=IVyJGMuRxG |
From: Mentalspice <clu...@ya...> - 2000-08-19 01:05:31
|
Java is the worst possible language(well, I huess BASIC would be worse) to use for an installer. Here is why: 1. Speed. It's interpreted(sorta...evil VM), so it's slow. 2. Memoery usage. Java needs the program, the VM, and sopme other stuff(the supporting classes); so, it eats up RAM(and mentalunix is theory should be installable on almost any box). There is a way around this though(enabling java binary support in the kernel), but it's just as slow(you should enable another thing..i think it's foreign binary suppot, but it's probably not that lets you run java programs and more, but it's bigger). In the end, java needs to much ram 3. Graphics. AWT is crappy to say the least. Java can't access Gtk+ either(the gtk libraries are written in C). Plus, the graphics are slow. 4. Access rights / hardware access. Or rather, the lack of them. I think that C, C++, or objective-C(my favorite) should be the language used for the installer. It's also easier for C/C++ stuff to talk to each other(CORBA). Since the installer is going to use a display back-end, having the objects talk to each other is really important. I've been thinking about XML, and i finally understand it's real purpose: error correction. You make your app only understand the elements you create, but use a dtd to let the xml parser make sure the document is vaild for you(which cuts development time by a lot). I'm nowhere near finishign the xml book i got, but ithas to go back tommorow, so i'm using my 250 bucks of quick cash(a two week job is a filing room) to buy a nice reference. The new Xforms, xsl, and xlink stuff is lookign ncie for xml too. libxml isn't all that great, so I'm waiting ot see when Skapeare's new xml parser is done(it is really nice...it introduces the new </> element..figure out what it does. It also feed the app the data like this: xml_parse(file.xml); if xml_valid = 1 then { read_xml(file.xml); printf(xml_data\n); it's ill-formed C...but i don't know that much C. basically, it returns this(each newline is after a new read_xml()): <menu> <item> This is my nice little item </item> </menu> basicall, intead of feeding hte document to the app, it feads the element, then the text inside fo the element, then the end tag(aside from doing to other xml-stuff like validating and expanding entities). --------------------------------------------- DO NOT REPLY TO THIS MESSAGE BY EMAIL! --------------------------------------------- You have chosen to receive messages from "mentalunix" by email. Reply to this message: http://clubs.yahoo.com/clubs/mentalunix/bbsfrp?action=r&tid=mentalunix&sid=1600006580&mid=313 Unsubscribe from the Club mailing list: http://clubs.yahoo.com/clubs/mentalunix/config/change_mb_list Return to "mentalunix": http://clubs.yahoo.com/clubs/mentalunix ---------------------------------------------- Not a member? Remove yourself from this list: http://edit.clubs.yahoo.com/config/unsubscribe_mb_list?.userID=munix_devr&.groupID=mentalunix&.groupType=&.code=IVyJGMuRxG |
From: CoolProgrammer <clu...@ya...> - 2000-08-19 22:06:49
|
About the Gtk, WRONG!!! You can access native methods in Java, which are routines that are platform specific, with Java. These routines are loaded from libraries. In Windows, DLL's are used. I believe you can do the same in Linux with Java. However, that destroys the one advantage Java does have--platform independence. The hardware access can be solved by using the methods in the C libraries, but then you wouldn't be using pure Java. ~CoolProgrammer --------------------------------------------- DO NOT REPLY TO THIS MESSAGE BY EMAIL! --------------------------------------------- You have chosen to receive messages from "mentalunix" by email. Reply to this message: http://clubs.yahoo.com/clubs/mentalunix/bbsfrp?action=r&tid=mentalunix&sid=1600006580&mid=315 Unsubscribe from the Club mailing list: http://clubs.yahoo.com/clubs/mentalunix/config/change_mb_list Return to "mentalunix": http://clubs.yahoo.com/clubs/mentalunix ---------------------------------------------- Not a member? Remove yourself from this list: http://edit.clubs.yahoo.com/config/unsubscribe_mb_list?.userID=munix_devr&.groupID=mentalunix&.groupType=&.code=IVyJGMuRxG |
From: Mentalspice <clu...@ya...> - 2000-08-19 22:51:10
|
If i can remember correctly, Gtk+ can only be accesed using C. It can't function is C++ because of the way it works. Gtk-- was vreated to suppoirt Gtk in C++(Gtk-- is also confusing to use). Therefore, my logic was and still is that since Gtk can only be accesed using C(gtk.h), then java can't use the C stuff. --------------------------------------------- DO NOT REPLY TO THIS MESSAGE BY EMAIL! --------------------------------------------- You have chosen to receive messages from "mentalunix" by email. Reply to this message: http://clubs.yahoo.com/clubs/mentalunix/bbsfrp?action=r&tid=mentalunix&sid=1600006580&mid=316 Unsubscribe from the Club mailing list: http://clubs.yahoo.com/clubs/mentalunix/config/change_mb_list Return to "mentalunix": http://clubs.yahoo.com/clubs/mentalunix ---------------------------------------------- Not a member? Remove yourself from this list: http://edit.clubs.yahoo.com/config/unsubscribe_mb_list?.userID=munix_devr&.groupID=mentalunix&.groupType=&.code=IVyJGMuRxG |
From: CoolProgrammer <clu...@ya...> - 2000-08-20 22:16:33
|
You would have to do the prototypes differently in Java, anyway. It would be a pain, but it's not impossible. ~CoolProgrammer --------------------------------------------- DO NOT REPLY TO THIS MESSAGE BY EMAIL! --------------------------------------------- You have chosen to receive messages from "mentalunix" by email. Reply to this message: http://clubs.yahoo.com/clubs/mentalunix/bbsfrp?action=r&tid=mentalunix&sid=1600006580&mid=318 Unsubscribe from the Club mailing list: http://clubs.yahoo.com/clubs/mentalunix/config/change_mb_list Return to "mentalunix": http://clubs.yahoo.com/clubs/mentalunix ---------------------------------------------- Not a member? Remove yourself from this list: http://edit.clubs.yahoo.com/config/unsubscribe_mb_list?.userID=munix_devr&.groupID=mentalunix&.groupType=&.code=IVyJGMuRxG |