Could PureBasic somehow replace JavaScript?

Everything else that doesn't fall into one of the other PB categories.
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Could PureBasic somehow replace JavaScript?

Post by RichAlgeni »

Or be used in place of JavaScript?

I'd much rather be proficient in PureBasic, since it's so powerful! I have to admit, I LOATHE JavaScript!

Couldn't PureBasic be used in place, or be called by JavaScript? Flash and Java are executables, aren't they?

Has anyone done anything like this?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Could PureBasic somehow replace JavaScript?

Post by IdeasVacuum »

All depends on what the purpose of the code is. JavaScript is usually used as part of a web page. It has a command to run an exe file that is already on the PC: http://www.dotnetspider.com/resources/1 ... cript.aspx
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: Could PureBasic somehow replace JavaScript?

Post by rsts »

RichAlgeni wrote:Or be used in place of JavaScript?

I'd much rather be proficient in PureBasic, since it's so powerful! I have to admit, I LOATHE JavaScript!

Couldn't PureBasic be used in place, or be called by JavaScript? Flash and Java are executables, aren't they?

Has anyone done anything like this?
Not likely, but there is http://www.nsbasic.com/app/
User avatar
RichAlgeni
Addict
Addict
Posts: 935
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Re: Could PureBasic somehow replace JavaScript?

Post by RichAlgeni »

I had moved a bracket to the previous line, just because I thought I'd be consistent, and all hell broke loose!

That's why I was wondering if we could use a PB executable in place, or called by JavaScript.

Thanks guys.
Nituvious
Addict
Addict
Posts: 1033
Joined: Sat Jul 11, 2009 4:57 am
Location: United States

Re: Could PureBasic somehow replace JavaScript?

Post by Nituvious »

What are you need done in Javascript that you want to do in PureBasic instead?
If you want to use PureBasic as a web language then you'll need some sort of interpreter, probably in the form of a web server. IIRC There is one floating around the forums somewhere.
▓▓▓▓▓▒▒▒▒▒░░░░░
Mohawk70
Enthusiast
Enthusiast
Posts: 404
Joined: Thu May 11, 2006 1:04 am
Location: Florida, USA

Re: Could PureBasic somehow replace JavaScript?

Post by Mohawk70 »

HP Z800 Workstation
CPU : Dual Xeon 5690 3.46GHz
RAM : 192GB RAM
GPU : NVIDIA QUADRO P5000 16GB
Post Reply