You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

theuserbl

Intermediate

  • "theuserbl" started this thread

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

1

Wednesday, May 4th 2011, 4:48pm

Can be parts of Mono Basic used for Jabaco framework?

Mono is an OpenSource .NET Framework for Windows, Linux and MacOSX. It also exists for Android, iPad and so on.

Mono comes with the C# compiler called mcs.
But there existing additional a Visual Basic Compiler for it with the VisualBasic runtime classes.

The VB Mono side you can find at
http://www.mono-project.com/VisualBasic.NET_support

The Sourcecode you can find at
http://ftp.novell.com/pub/mono/sources/mono-basic/

If you download mono-basic-2.10.tar.bz2 and unpack it, you will find in the directory of it in
mono-basic-2.10\vbruntime\Microsoft.VisualBasic\Microsoft.VisualBasic
the runtime classes.

Possible code of it could be used for the Jabaco-Framework (as port to Java) ?
For example in Financial.vb it includes all financial calculations.

Here the header text of that file:

Quoted

'
' Financial.vb
'
' Author:
' Mizrahi Rafael (rafim@mainsoft.com)
' Boris Kirzner (borisk@mainsoft.com)
'

'
' Copyright (C) 2002-2006 Mainsoft Corporation.
' Copyright (C) 2004-2006 Novell, Inc (http://www.novell.com)
'
' Permission is hereby granted, free of charge, to any person obtaining
' a copy of this software and associated documentation files (the
' "Software"), to deal in the Software without restriction, including
' without limitation the rights to use, copy, modify, merge, publish,
' distribute, sublicense, and/or sell copies of the Software, and to
' permit persons to whom the Software is furnished to do so, subject to
' the following conditions:
'
' The above copyright notice and this permission notice shall be
' included in all copies or substantial portions of the Software.
'
' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
' EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
' MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
' NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
' LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
' OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
' WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
'


So the file is licensed under the MIT-license.But it is equivalent to the new BSD-license, which the Jabaco-framework use.
So can Mono-VisualBasic runtime code be ported to the Jabaco-framework?

Currently the Jabaco framework have only implemented DDB:
http://code.google.com/p/jabacoframework…/Financial.java

But the Mono-VisualBasic have implemented ALL of it.
That SLN is calculated as (Cost - Salvage) / Life , I have already find myself out. But the other ones would need a lot of longer to find it out. So porting the Mono-code would be easier.



As port to Java, the Mono code could possibly safed to the future.
I am not sure, which future is more unclear: The future of Java or the future of Mono.
First Oracle buyed Sun and seems to destroy nearly Java. A lot of good Java-developer have since then left the company.
And now Novell was acquired by Attachmate. And Attachmate plans to turn out the complete Mono-team at Novell.

Because Mono is OpenSource it will never really die. But the times, where Mono was fast developed seems to be over.

theuserbl

Intermediate

  • "theuserbl" started this thread

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

2

Wednesday, May 4th 2011, 5:28pm

I am thinking if mathematical formulas are general without copyright.
Then it would be possible to port the Mono-Basic Financial over to the Jabaco Framework without to mention Mono or the MIT-license.

Manuel

Administrator

  • "Manuel" is male

Posts: 256

Date of registration: Jul 16th 2008

Location: Erlangen, Germany

Occupation: Software Developer

Hobbies: Jabaco, game theory, text-mining

  • Send private message

3

Thursday, May 5th 2011, 11:11am

Sounds good to me. I'll support the syntax (shared, return) to reduce the effort.

Similar threads

Rate this thread
WoltLab Burning Board