Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2970

Re: Cool FTP implementation with "minimal" Python

From Alexey Popkov <lehin.p@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Cool FTP implementation with "minimal" Python
Date 2011-06-06 10:23 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <isi9rl$lus$1@smc.vnet.net> (permalink)

Show all headers | View raw


David Bailey vrote:
> It is also possible in 8.0 to call C code
> in a DLL directly (i.e. with no inter-process overhead) and although I
> have not made use of this yet, this feature obviously has interesting
> possibilities.

I have no access to version 8 at the moment but could you explain more? It is very interesting to have the ability to call DLL's directly, especially system libraries under like kernel32.dll under Windows. Could you give an example of using it (I am especially interested in calling GlobalMemoryStatusEx function that "retrieves information about the system's current usage of both physical and virtual memory." In C# it is easy to get this information in numerical form:

http://msdn.microsoft.com/en-us/library/aa366589%28VS.85%29.aspx

It is also possible to get it via NETLink:

https://groups.google.com/d/msg/comp.soft-sys.math.mathematica/CECRZekCGdU/OkF1kyxf014J

But how can this be done in Mathematica 8 without using NETLink?

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Cool FTP implementation with "minimal" Python Alexey Popkov <lehin.p@gmail.com> - 2011-06-06 10:23 +0000

csiph-web