Defining a new standard - can this be done?

G

Guest

I have a question to ask. Please give me your comments and see whether this concept is possible and feasible or not?

I want to come out with a concept maybe a library that can be used by all programming language.

At first i came out a c# .net dll and try to test nearly 8 languages. I notice problems. I just can't direct call to that language like i can do in .net

..NET DLL

-> 2 methods
->-> static method
->-> non static method

C#

direct call

VB.NET

direct call

C++ >NET

direct call

J#

direct call

ASP.NET

direct call

Smart Devices .NET

direct call

ASP

create instance of an object, then call it

VB6

create instance of an object, then call it

Java

write java calling native methods and loadlibrary, compile it, generate header files, write in c/c++ - long process

I want a library which can runs on any platform.. and in java it does not recognize dll except you use JNI. I am not sure about perl, python or lisp.

This is what i thought:

I get this idea from windows longhorn xaml.

I write a new standard of xml parser that are build into windows, and linux. Maybe called WXML (WenChing eXtensible Markup Language)

The xml parser unders the xml being past in. You can call any functions through XML. XML file acts as a layer and the programming called the xml file.

Hmm.. well since i never write xml parsers my whole life.. do you think is possible?

I was planning to write that xml parser in C#.

Any tips for me?

Thanks.
 
C

cody

In C# there is an XMLReader class and much more classes that can be used to
parse XML.

However, how exactly do you want to call methods using XML? You would have
to write a library which translates XML to a method call for each different
platform anyway, so whats te point?

The only way to generate a true platform independed program is to write it
in a script language where the source code of the interpreter is available
(plain C would be a good choice since nearly every plaform has a compiler
fro that).

--
cody

[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
Chua Wen Ching said:
I have a question to ask. Please give me your comments and see whether
this concept is possible and feasible or not?
I want to come out with a concept maybe a library that can be used by all programming language.

At first i came out a c# .net dll and try to test nearly 8 languages. I
notice problems. I just can't direct call to that language like i can do in
..net
.NET DLL

-> 2 methods
->-> static method
->-> non static method

C#

direct call

VB.NET

direct call

C++ >NET

direct call

J#

direct call

ASP.NET

direct call

Smart Devices .NET

direct call

ASP

create instance of an object, then call it

VB6

create instance of an object, then call it

Java

write java calling native methods and loadlibrary, compile it, generate
header files, write in c/c++ - long process
I want a library which can runs on any platform.. and in java it does not
recognize dll except you use JNI. I am not sure about perl, python or lisp.
This is what i thought:

I get this idea from windows longhorn xaml.

I write a new standard of xml parser that are build into windows, and
linux. Maybe called WXML (WenChing eXtensible Markup Language)
The xml parser unders the xml being past in. You can call any functions
through XML. XML file acts as a layer and the programming called the xml
file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top