Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 22:15
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Basic Programming
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 13 May 2005, 03:52    Post_subject:  Basic Programming  

My first attempts to do something for the Linux community was in the language XBasic. I tried to develop a program called ALMS. Of course I had to learn to program. I am very glad I choose a very stable and fast language called XBasic. XBasic is a complete environment able to run the same code in Linux and Windows.

I spent about a month developing code on Knoppix swapping into Windows but eventually finished and created the code to run on Windows which I was more familiar with.

Maybe Puppy will allow me to finalise the Linux version. To my amazement, my Windows code required only the change of two lines of commented out code to be reintroduced and was running. See pic.

My program will not be as tight or compact as those writing in C or Tcl (it has to include a large run time) but at least Puppy has given me the confidence to BELIEVE I can finish this program in Linux.

I am a Puppy and I am Happy. Puppy Rocks!

Cool

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
JohnMurga
Site Admin


Joined: 04 May 2005
Posts: 586
Location: Far to the east

PostPosted: Fri 13 May 2005, 09:13    Post_subject:  

Cool, how big is the run-time just out of interest ?

Cheers
JohnM
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 13 May 2005, 09:37    Post_subject:  

dunno

- the situation freaked me out because I seem to remember it was 3.5 meg

BUT the windows runtime is recorded as 1.5 meg but with UPX it is about 350k XBasic contains ALL its own libraries it would work on any Linux. So with some UPX compression it could end up any size . . .

Xbasic code is very fast - as fast as C for most things
but the code is easier and more structured and more like BASIC

It is an odd language that is gaining popularity. There is a Windows variant called Xblite - but I prefer the Linux/Windows older version . . . coz I can work on two OS

The language is ready for 64 Bit and on WIndows works from Windows 3.11 - right through to Blackcomb - because it carries its own environment in the runtime dll - not bad for something created in 1988 with a visual programming environment BEFORE others such as VB made them popular

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0405s ][ Queries: 11 (0.0033s) ][ GZIP on ]