开发者

Running a program using a webbrowser

I made a thread recently about running C/C++ programs in a webbrowser, and I got the response it would not work.

Running C/C++ code in a webbrowser?

I've found out the framework I am to be using will have wrappers in other languages, so my 开发者_C百科question is, is it possible to run programs in a browser in the following languages:

-- C#, VB

-- Java

-- Python

-- Perl

-- Ruby

The framework in question is http://doubango.org/index.html, if it is any help.

Thanks


The de facto language for running in the browser is JavaScript. The user has to opt-out if they don't want that to happen in their browser.

Anything else is going to need some sort of plugin support / ActiveX (in windows) control. (Including Flash. You could argue that most people will have flash installed, but it's still an opt-in.)


All the languages you have listed allow you to create web applications. Here are some popular frameworks which could be used to create web sites using those languages:

  • C#, VB.NET - ASP.NET
  • Java - Java Servlets
  • Python - Django
  • Perl - Gantry
  • Ruby - Ruby on Rails


Goole Chrome provides a way to run native code inside the browser: http://code.google.com/chrome/nativeclient/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜