From dabenavidesd at yahoo.es Fri Jun 16 15:46:52 2017 From: dabenavidesd at yahoo.es (Daniel Alejandro Benavides D.) Date: Fri, 16 Jun 2017 13:46:52 +0000 (UTC) Subject: [M3devel] Flickr sharing site References: <1155339802.19582399.1497620812397.ref@mail.yahoo.com> Message-ID: <1155339802.19582399.1497620812397@mail.yahoo.com> How proud I feel of be involved in someway in Modula-3: -------------- next part -------------- An HTML attachment was scrubbed... URL: From lemming at henning-thielemann.de Fri Jun 16 17:35:28 2017 From: lemming at henning-thielemann.de (Henning Thielemann) Date: Fri, 16 Jun 2017 17:35:28 +0200 (CEST) Subject: [M3devel] Flickr sharing site In-Reply-To: <1155339802.19582399.1497620812397@mail.yahoo.com> References: <1155339802.19582399.1497620812397.ref@mail.yahoo.com> <1155339802.19582399.1497620812397@mail.yahoo.com> Message-ID: On Fri, 16 Jun 2017, Daniel Alejandro Benavides D. wrote: > How proud I feel of be involved in someway in Modula-3: Is there a line missing? From dabenavidesd at yahoo.es Fri Jun 16 21:44:50 2017 From: dabenavidesd at yahoo.es (Daniel Alejandro Benavides D.) Date: Fri, 16 Jun 2017 19:44:50 +0000 (UTC) Subject: [M3devel] Flickr sharing site In-Reply-To: References: <1155339802.19582399.1497620812397.ref@mail.yahoo.com> <1155339802.19582399.1497620812397@mail.yahoo.com> Message-ID: <995167954.1383306.1497642290689@mail.yahoo.com> Hi:yeah:Flickr Architecture - High Scalability - | | | Flickr Architecture - High Scalability - Update: Flickr hits 2 Billion photos served. That's a lot of hamburgers. Flickr is both my favori... | | | Thanks a El Viernes 16 de junio de 2017 12:53, Henning Thielemann escribi?: On Fri, 16 Jun 2017, Daniel Alejandro Benavides D. wrote: > How proud I feel of be involved in someway in Modula-3: Is there a line missing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dabenavidesd at yahoo.es Fri Jun 16 22:27:26 2017 From: dabenavidesd at yahoo.es (Daniel Alejandro Benavides D.) Date: Fri, 16 Jun 2017 20:27:26 +0000 (UTC) Subject: [M3devel] Flickr sharing site References: <1846414789.20040935.1497644846883.ref@mail.yahoo.com> Message-ID: <1846414789.20040935.1497644846883@mail.yahoo.com> Hello:my guess is I let yahoo mail editor compose a minisite inside the second mail:http://highscalability.com/blog/2007/11/13/flickr-architecture.html El Viernes 16 de junio de 2017 14:45, Daniel Alejandro Benavides D. escribi?: Hi:yeah:Flickr Architecture - High Scalability - | | | Flickr Architecture - High Scalability - Update: Flickr hits 2 Billion photos served. That's a lot of hamburgers. Flickr is both my favori... | | | Thanks a El Viernes 16 de junio de 2017 12:53, Henning Thielemann escribi?: On Fri, 16 Jun 2017, Daniel Alejandro Benavides D. wrote: > How proud I feel of be involved in someway in Modula-3: Is there a line missing? _______________________________________________ M3devel mailing list M3devel at elegosoft.com https://m3lists.elegosoft.com/mailman/listinfo/m3devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From lemming at henning-thielemann.de Sat Jun 17 12:19:48 2017 From: lemming at henning-thielemann.de (Henning Thielemann) Date: Sat, 17 Jun 2017 12:19:48 +0200 (CEST) Subject: [M3devel] Flickr sharing site In-Reply-To: <995167954.1383306.1497642290689@mail.yahoo.com> References: <1155339802.19582399.1497620812397.ref@mail.yahoo.com> <1155339802.19582399.1497620812397@mail.yahoo.com> <995167954.1383306.1497642290689@mail.yahoo.com> Message-ID: On Fri, 16 Jun 2017, Daniel Alejandro Benavides D. wrote: > Hi: > yeah: > Flickr Architecture - High Scalability - > > FLICKR ARCHITECTURE - HIGH SCALABILITY - > > Update: Flickr hits 2 Billion photos served. That's a lot of hamburgers. Flickr is both my favori... I still don't get how that is related to Modula-3. :-( From dabenavidesd at yahoo.es Sat Jun 17 18:27:58 2017 From: dabenavidesd at yahoo.es (Daniel Alejandro Benavides D.) Date: Sat, 17 Jun 2017 16:27:58 +0000 (UTC) Subject: [M3devel] Flickr sharing site In-Reply-To: References: <1155339802.19582399.1497620812397.ref@mail.yahoo.com> <1155339802.19582399.1497620812397@mail.yahoo.com> <995167954.1383306.1497642290689@mail.yahoo.com> Message-ID: <1744556563.553970.1497716878878@mail.yahoo.com> Hi:Cvsup file distribution platform Enviado desde Yahoo Mail para Android El s?b, 17 de jun de 2017 a la(s) 5:19, Henning Thielemann escribi?: On Fri, 16 Jun 2017, Daniel Alejandro Benavides D. wrote: > Hi: > yeah: > Flickr Architecture - High Scalability - > > FLICKR ARCHITECTURE - HIGH SCALABILITY - > > Update: Flickr hits 2 Billion photos served. That's a lot of hamburgers. Flickr is both my favori... I still don't get how that is related to Modula-3. :-( -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.mckinna at gmail.com Mon Jun 26 08:21:51 2017 From: peter.mckinna at gmail.com (Peter McKinna) Date: Mon, 26 Jun 2017 16:21:51 +1000 Subject: [M3devel] small structs Message-ID: Hey, I have a problem passing small structs by value to an external C function. If the size of the struct/record is less than 16 bytes there seems to be an ABI mismatch, at least on x86_64 not sure of other targets. If it's larger than 16 bytes the value is passed on the stack as usual and works fine otherwise it looks as if the fields of the struct are extracted and passed in registers. Any thoughts? Regards Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: From jayk123 at hotmail.com Mon Jun 26 08:39:08 2017 From: jayk123 at hotmail.com (Jay K) Date: Mon, 26 Jun 2017 06:39:08 +0000 Subject: [M3devel] small structs In-Reply-To: References: Message-ID: Which backend? In any case I would recommend avoiding passing/returning structs/records by value across languages or even "major" compilers. This is a somewhat unusual "corner" in some ABIs and there are often accidental mismatches. I know the integrated NT386 backend has a problem and we workaround it. There is approx. one Win32 API affected. We wrap it with a C wrapper that uses explicit record address instead of value. Basically this is an area that 1. Has multiple obvious reasonable approaches and no clear tie breaker if you are the designer. 2. Is sometimes tweaked. Leaving intended clones not always matching. For example I believe NT/amd64...I looked it up...structs of size 1, 2, 4, 8 are passed in registers (presumably only if in first 4 parameters). I didn't see how returned. Any other in-between or larger size is passed differently. C does not allow zero-sized structs, I'm not sure of others. This is something sort of fixed by generating C, but I've seen C compilers mismatch too (citation needed). What is actual scenario? - Jay ________________________________ From: M3devel on behalf of Peter McKinna Sent: Sunday, June 25, 2017 11:21:51 PM To: m3devel Subject: [M3devel] small structs Hey, I have a problem passing small structs by value to an external C function. If the size of the struct/record is less than 16 bytes there seems to be an ABI mismatch, at least on x86_64 not sure of other targets. If it's larger than 16 bytes the value is passed on the stack as usual and works fine otherwise it looks as if the fields of the struct are extracted and passed in registers. Any thoughts? Regards Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: