GithubHelp home page GithubHelp logo

net6.0 support about xbimgeometry HOT 4 OPEN

zhouguoqiang avatar zhouguoqiang commented on August 19, 2024
net6.0 support

from xbimgeometry.

Comments (4)

andyward avatar andyward commented on August 19, 2024

Yes, coming soon. See the netcore branch

from xbimgeometry.

GVladislavG avatar GVladislavG commented on August 19, 2024

Will this version be crossplatform?
Will it be able to work under Linux?

from xbimgeometry.

andyward avatar andyward commented on August 19, 2024

Not initially in GE v6. The problem is that we're using C++/CLI to wrap/interface with OpenCascade native C++ library - C++/CLI creates efficient .NET shims between native and managed code. This approach is pretty widespread across the geometry engine. C++/CLI is only compatible with Windows currently due to limitations of the Visual Studio C++ compiler.

So unless the Microsoft C++ team come out with an improved C++ cross-compiler, in order to provide full cross-platform support (for Linux/MacOS) we'd need to move to P/Invoke, which is both a lot of work and would likely have negative performance implications.

What the v6 branch does is move us along a bit by:

  1. Supporting Geometry under NetCore (.NET6+)
  2. Provide new interfaces to support phased migration of code that uses OpenCascade (and re-writes a lot of the implementation to be more testable)
  3. Extract OpenCascade to dependency via Nuget, so it can be updated more easily

One thing that should be possible in v6 is to natively support ARM64 under Windows. But full cross-platform is going to be something we have to leave for a future major release, and will need significant time investment - and frankly will need to have a compelling commercial driver behind it.

from xbimgeometry.

hyazinthh avatar hyazinthh commented on August 19, 2024

Are there any plans to publish public v6 packages in the near future?

from xbimgeometry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.