Dear Gobosoft, Do you think it is important to have a standard class for low-level memory access? This class would be much like EPX_SMART_BUFFER in ePosix, or...
I had the need for such a thing when I was doing network-oriented stuff with yaesockets. I find it essential, unbelievable that it is not standard and ...
... Is your type something else than ARRAY [INTEGER_8]? ARRAY is in ELKS, and INTEGER_8 is in ETl3 (I think). SE and ISE have INTEGER_8, and we can hope it...
... ************************************ This email and any files transmitted with it are proprietary and intended solely for the use of the individual or...
... The description of POINTER is "References to objects meant to be exchanged with
non-Eiffel software." A MEMORY_STREAM would require a POINTER and that...
... If it is a buffer with random access, then don't call it a stream. A stream usually implies serialized access. You can skip, but you "go over" the previous...
... Hash: SHA1 ... Andreas Leitner and me have discussed plans to write ewg-lib, a basic portable library for accessing C code. It includes such a class as you...
... Hash: SHA1 ... All those issues are, I believe, solved in eposix. But perhaps we can move this to a general library that can be used by other people. Many ...
... I just looked at MEMORY_STREAM it only has: item, infix "@" (i: INTEGER): INTEGER_8 put (v: INTEGER_8; i: INTEGER) force (v: INTEGER_8; i: INTEGER) ... ...
... Just for information, Visual Eiffel provides some classes like you describe. Among them there is a class RTS_MEMORY_MAPPED_AREA_ARRAY [G]. It binds to the...
This is a great idea and I didn't know about it. It's similar to an idea I was tossing around in my head about a TUPLE that is guaranteed to be contiguous in...
... This could be covered by a class MEMORY_CELL [G], so that one could write p: POINTER i: INTEGER d: DOUBLE m_char: MEMORY_CELL [CHARACTER] m_int:...
Franck Arnaud: (Sorry for the half edited message that I've just sent, remaining points follow.) ... Maybe it is likely that a project with a high dependency...
... That's a viable option. But the memory behind ARRAY [INTEGER_8] must not be moved by the Eiffel runtime. Also it might be cleaner to just have access to a...
Here is the first draft of the flat short form of the class we've been discussing. 1. I've called it MEMORY_BLOCK. My first choice `MEMORY' was already taken...
Why don't I attach the message so it is a little more readable? Also I fixed one (of many) errors in peek_string. memory_block.e
<<memory_block.e>> ...
... Hash: SHA1 ... Not with eposix's STDC_BUFFER. We assume any malloc callis unmanaged. The hoops appear when you do a string_to_pointer while attempting to...
... The first two questions I asked were: Should this type be in ELKS? Should it be in Gobo? I'm getting the impression that most of the responders do not...
... Hash: SHA1 ... The shared idea isn't really clear IMO. I rather liked the owner idea. An owner deallocates the memory when it is disposed. Sharing is ...
... The restriction is that we don't want to force people to have a C compiler in order to use Gobo. So in an ideal world all the basic functionalities needed...
... Hash: SHA1 ... We can use the Expat binding trick by calling malloc/calloc/free, no problem. We don't have to inherit from this. ... Or wait for VE to have...
... The Expat binding is the part that I hate in Gobo, just because of its interface to C. ... This one is dedicated to gelex and is not meant to be reusable ...
... [...] ... them. Hmmm, where did this thread start. This is the first sign of it I took notice of. ... My favorite place for this would also be GOBO. Eric...
... But the closer you get to low level, the more likely it gets that you depend on some specific architectures. Most desktops computers have very similar...
... Is inline c acceptable? ... I didn't find a class MEMORY_CELL in VE, maybe Alexander was proposing this class as an implementation. Here is a synopsis for ...
... Inline C won't work with Smarteiffel producing JVM output, also VE does not produce C code or use a C compiler directly, so you'd need an extra C compiler...