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 Thu 02 Jul 2015, 05:58
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Advice needed about possible open source project
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 28 Oct 2007
Posts: 86

PostPosted: Sat 24 Nov 2012, 21:46    Post_subject:  Advice needed about possible open source project
Sub_title: A vm with in-browser graphical capability

My experience with programming is primarily limited to interpreted languages, so I don't know very much about some of the technologies that would be necessary for this project.

I've become accustomed to working in flash, but I've grown dissatisfied with it. The main problems are that it's proprietary and it is only designed for web applications. I'd like an open source vm that works for both desktop and web apps.

HTML5 is considered to be a replacement for flash, but as I understand it still has a ways to go. The source code and resources are not packed into one neat file the way they are in flash, so it's harder to distribute HTML5 programs. It also lacks desktop capability.

What I'd like to do is take an existing vm, for example, lua, and build a custom interpreter with increased capabilities.

It would have a special HTML5 client for graphical capability. Basically, the vm would run on the user's machine as a server. When the user visits a website with a program for the vm:
-The client is downloaded from the website.
-The client sends a websocket request to 'localhost', where the vm will be listening.
-The vm downloads the program as directed by the client.
-The vm feeds graphical output from the program into the vm, which feeds keyboard and mouse input back through the websocket connection.

In addition, each program would have its own config settings. By default, programs would be subject to similar limitations to flash, but a user can grant a trusted program extra permissions in order to use it as a desktop app.

So, my questions are:
-Does this sound feasible, or have I misunderstood some of the technologies involved?
-Does something like this already exist?
-How would I get started? Unfortunately, my skillset is poorly matched to this project, so I'd have little to contribute in the beginning stages.

Thanks in advance.
Back to top
View user's profile Send_private_message 

Joined: 20 May 2006
Posts: 6529
Location: Auckland, New Zealand

PostPosted: Sun 25 Nov 2012, 02:13    Post_subject:  

It sounds kind of like Java to me...
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 

Joined: 28 Oct 2007
Posts: 86

PostPosted: Sun 25 Nov 2012, 02:31    Post_subject:  

Hm, I didn't know java was open source now.

i tried it awhile ago, but it didn't really click with me. Maybe I'll take another crack at it, thanks.

I'd still like to know if what I described is feasible, in case things don't work out with java.
Back to top
View user's profile Send_private_message 

Joined: 18 May 2008
Posts: 4519

PostPosted: Mon 26 Nov 2012, 02:42    Post_subject:  

javascript and node.js + your choice of npm module
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1378s ][ Queries: 12 (0.0945s) ][ GZIP on ]