10-19-2018, 05:00 PM
Dear mecheil.edwar,
I've never used such component, if you find one that works please share.
Some long time ago I wrote code in VB6 to parse equations. I was using a tree structure based on math operations priority. It might be a long path to create your own component, but at least it can also solve not just display.
Google using keywords: latex c# wpf
It also depends if the equations are static or if the user can change them and how much.
Regarding the static nature of WPF objects, for high performance dynamic graphics a "native window" DirectX component is used. Etabs and Sap are using SharpDX. Tekla was using OpenGL (don't know what's using in the current version).
I've used SharpGL for OpenGL in windows forms and I believe wpf too.
WPF was created to create a weak bind between interface and processing, and to be used by a team of programmers, so the learning curve is difficult.
About the thread subject, programming with C++
Recently I wrote some code in C with few elements of C++, for an embedded project, linux on arm processor, and the choice was C for stability and performance.
Performance:
- software had to be as real-time as possible
- each function had to run each time in a measurable time period (not shorter, not longer)
- didn't want any dependencies on external libraries, only the OS functions
- I wrote several custom protocols over UDP and TCP/IP, for performance I required some fast memory operations and casting without memcopy from byte array to struct and struct to byte array
- full control of memory allocation/release
- and I2C, SPI and UART TTL interface communication and protocols
It works, 24/7, 8 months uptime, performing the same operations each millisecond.
For the x64 part of the project, running on intel atom industrial pc, I've used .NET Core on linux and it's very stable. Console application no graphics running as service. Multithreading, 8TB custom database format and engine from scratch, data stored in 3d (zoom, x, y like google maps), custom https server and websocket server from scratch, 3 protocols over TCP and 2 over UDP. About 4 months work in c#. In c/c++ I can write that code in 2-3 years.
All code is in classes stored in .NetStandard libraries so it runs on windows .Net Framework or Linux .NetCore.
For the end user on windows I've used Windows Forms and SharpGL because I had little time.
I don't like python, and I don't like to use libraries and be stuck in other people bugs or updates or dependencies.
For a web platform I've used free and paid chart components like amcharts, smoothie chart and chart.js.
Elastic has a platform which does a lot more than I wrote, but it fails in both performance and stability compared to my custom tailored solution.
Best wishes
I've never used such component, if you find one that works please share.
Some long time ago I wrote code in VB6 to parse equations. I was using a tree structure based on math operations priority. It might be a long path to create your own component, but at least it can also solve not just display.
Google using keywords: latex c# wpf
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:
http://forum.civilea.com/thread-27464.html
***************************************
It also depends if the equations are static or if the user can change them and how much.
Regarding the static nature of WPF objects, for high performance dynamic graphics a "native window" DirectX component is used. Etabs and Sap are using SharpDX. Tekla was using OpenGL (don't know what's using in the current version).
I've used SharpGL for OpenGL in windows forms and I believe wpf too.
WPF was created to create a weak bind between interface and processing, and to be used by a team of programmers, so the learning curve is difficult.
About the thread subject, programming with C++
Recently I wrote some code in C with few elements of C++, for an embedded project, linux on arm processor, and the choice was C for stability and performance.
Performance:
- software had to be as real-time as possible
- each function had to run each time in a measurable time period (not shorter, not longer)
- didn't want any dependencies on external libraries, only the OS functions
- I wrote several custom protocols over UDP and TCP/IP, for performance I required some fast memory operations and casting without memcopy from byte array to struct and struct to byte array
- full control of memory allocation/release
- and I2C, SPI and UART TTL interface communication and protocols
It works, 24/7, 8 months uptime, performing the same operations each millisecond.
For the x64 part of the project, running on intel atom industrial pc, I've used .NET Core on linux and it's very stable. Console application no graphics running as service. Multithreading, 8TB custom database format and engine from scratch, data stored in 3d (zoom, x, y like google maps), custom https server and websocket server from scratch, 3 protocols over TCP and 2 over UDP. About 4 months work in c#. In c/c++ I can write that code in 2-3 years.
All code is in classes stored in .NetStandard libraries so it runs on windows .Net Framework or Linux .NetCore.
For the end user on windows I've used Windows Forms and SharpGL because I had little time.
I don't like python, and I don't like to use libraries and be stuck in other people bugs or updates or dependencies.
For a web platform I've used free and paid chart components like amcharts, smoothie chart and chart.js.
Elastic has a platform which does a lot more than I wrote, but it fails in both performance and stability compared to my custom tailored solution.
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:
http://forum.civilea.com/thread-27464.html
***************************************
Best wishes
With so many doctors there's nobody sick in this world.