Ask Your Question

Andrew732's profile - activity

2023-06-15 21:27:07 +0200 received badge  Nice Question (source)
2023-06-15 21:27:05 +0200 received badge  Self-Learner (source)
2023-06-15 21:27:05 +0200 received badge  Teacher (source)
2021-08-25 10:07:48 +0200 received badge  Famous Question (source)
2017-01-17 18:03:14 +0200 received badge  Notable Question (source)
2015-01-29 00:52:40 +0200 received badge  Popular Question (source)
2014-09-15 04:42:05 +0200 received badge  Editor (source)
2014-09-15 04:41:27 +0200 answered a question Adventures trying to build 6.3 on cygwin

I'm currently trying to do this too, except on top of that, I'm also trying to access the Sage library from C/C++ instead of Python (see my recent question in this forum). It's sounds like you've gotten farther than me so far, so I don't have anything to contribute. I'd love to hear about your progress though, so please keep us informed. Does anybody know if there is a better forum to ask about Windows-related Sage issues?

On a related note, I just want to gripe a little bit about the fact that large open source projects like this generally seem to shun Windows for whatever reason. I don't expect everybody to accept Windows dominance, and granted no project can make everybody happy, but I know for a fact that it really does exclude an awful lot of us in academia who would love to be a part of Sage development.

2014-09-14 12:30:26 +0200 answered a question What's the best way to access sage from a C program?

Anybody else ever need to do something like this?

2014-09-13 13:03:55 +0200 received badge  Student (source)
2014-09-12 22:42:23 +0200 asked a question What's the best way to access sage from a C program?

I'm new to Python/Sage and confused about what my options are here. I have a C++ program and occasionally I want to process some data with Sage. It would be far too slow to simply have Sage running like a server and then use the C++ program like a client that queries the server.

What I really want to do is write a standalone Python function that uses Sage library functions, convert that function and any relevant portions of Sage into C, and then with my own compiler, compile that C code into a library that my C++ program can call.

I'm confused about how all this could work with Cython and spyx files and so forth. Is this even possible? Would it be possible but slower to instead embed the Python function in the C++ program? Thanks for any help.