Groups | Search | Server Info | Login | Register
Groups > comp.os.linux.misc > #76176
| From | rbowman <bowman@montana.com> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Fancy-smanchy installers that don't work? |
| Date | 2025-10-15 06:31 +0000 |
| Message-ID | <ml8tedF2l5bU1@mid.individual.net> (permalink) |
| References | (13 earlier) <10cjsig$2gp1i$2@dont-email.me> <ml5k6fFegocU3@mid.individual.net> <BNGcnVyffphfQHD1nZ2dnZfqn_WdnZ2d@giganews.com> <ml6ahnFhs47U2@mid.individual.net> <34ecncooOcDVeXP1nZ2dnZfqn_WdnZ2d@giganews.com> |
On Tue, 14 Oct 2025 20:01:12 -0400, c186282 wrote: > COMs are a bit weird for my tastes. Lots of languages have their own > takes on them however. > > Hmm ... how to best code something like that in K&R 'C' ? COM is sort of Microsoft's take on Sun's ONC RPC, which uses XDR for serialization. That's all C. You start with a .x definition file which defines the data to be passed with C structs. rpcgen used that to create a header and .c file to link into the program. It's all C data types. Since COM grew from BASIC you wind up with tagged variants and other good stuff. XDR has its drawbacks too. For one it uses network byte order. That gets a little intense with a LAN with only little-endian machines since you have a lot of htonl() and ntohl() calles. Secondly it's a C struct. There may only be data in one field but the entire struct is sent, say 324 bytes of empty space and 9 bytes of data. There have been attempts to improve RPC with XML-RPC, JSON-RPC, and gRPC. With JSON and XML you don't have to send empty fields but you have the overhead of the tags. gRPC is Google's invention. It uses protocol buffers and a interface descriptor language in a .proto file and a tool to create actual code. It smells like XDR to me except you can designate fields as optional.
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Fancy-smanchy installers that don't work? Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2025-10-07 16:07 +0300
Re: Fancy-smanchy installers that don't work? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-07 14:39 +0100
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-07 22:52 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-08 01:35 -0400
Re: Fancy-smanchy installers that don't work? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-08 10:53 +0200
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-08 21:06 +0000
Re: Fancy-smanchy installers that don't work? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-09 21:25 +0200
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-09 21:45 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-09 21:41 -0400
Re: Fancy-smanchy installers that don't work? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-10 09:21 +0200
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-10 13:21 +0000
Re: Fancy-smanchy installers that don't work? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-10 21:15 +0200
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-10 21:53 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-11 02:46 -0400
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-11 02:38 -0400
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-09 02:09 -0400
Re: Fancy-smanchy installers that don't work? Rich <rich@example.invalid> - 2025-10-09 18:52 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-09 21:33 -0400
Re: Fancy-smanchy installers that don't work? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-10-11 15:10 +0000
Re: Fancy-smanchy installers that don't work? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-10-11 17:48 +0000
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-11 19:01 +0000
Re: Fancy-smanchy installers that don't work? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-10-11 19:08 +0000
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-11 19:32 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-11 22:29 -0400
Re: Fancy-smanchy installers that don't work? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-10-12 11:07 +0000
Re: Fancy-smanchy installers that don't work? John Ames <commodorejohn@gmail.com> - 2025-10-13 09:06 -0700
Re: Fancy-smanchy installers that don't work? Rich <rich@example.invalid> - 2025-10-18 16:24 +0000
Re: Fancy-smanchy installers that don't work? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-10-18 21:02 +0000
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-19 01:36 +0000
Re: Fancy-smanchy installers that don't work? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-19 13:39 +0200
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-20 02:10 +0000
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-20 05:36 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-20 02:33 -0400
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-20 02:31 -0400
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-20 19:21 +0000
Re: Fancy-smanchy installers that don't work? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-10-19 12:17 +0000
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-19 02:22 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-19 04:28 -0400
Re: Fancy-smanchy installers that don't work? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-19 11:19 +0100
Re: Fancy-smanchy installers that don't work? John Ames <commodorejohn@gmail.com> - 2025-10-20 09:20 -0700
Re: Fancy-smanchy installers that don't work? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-10-25 12:49 +0000
Re: Fancy-smanchy installers that don't work? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-25 16:45 +0100
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-19 03:36 -0400
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-11 19:31 +0000
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-12 01:33 +0000
Re: Fancy-smanchy installers that don't work? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-11 22:52 +0200
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-11 22:48 +0000
Re: Fancy-smanchy installers that don't work? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-12 02:43 +0200
Re: Fancy-smanchy installers that don't work? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-12 12:12 +0100
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-11 22:02 -0400
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-12 06:39 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-12 02:59 -0400
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-12 19:20 +0000
Re: Fancy-smanchy installers that don't work? candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-10-13 16:50 +0000
Re: Fancy-smanchy installers that don't work? Nuno Silva <nunojsilva@invalid.invalid> - 2025-10-13 18:38 +0100
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-14 01:38 -0400
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-14 01:45 -0400
Re: Fancy-smanchy installers that don't work? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-12 12:17 +0100
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-13 03:28 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-13 03:41 -0400
Re: Fancy-smanchy installers that don't work? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-13 10:20 +0100
Re: Fancy-smanchy installers that don't work? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-13 11:55 +0200
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-13 21:56 +0000
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-14 00:35 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-14 01:21 -0400
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-14 06:56 +0000
Re: Fancy-smanchy installers that don't work? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-10-14 17:20 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-14 20:01 -0400
Re: Fancy-smanchy installers that don't work? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-10-15 05:36 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-15 03:33 -0400
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-15 21:18 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-16 02:24 -0400
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-15 06:31 +0000
Re: Fancy-smanchy installers that don't work? John Ames <commodorejohn@gmail.com> - 2025-10-15 09:00 -0700
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-15 21:24 +0000
Re: Fancy-smanchy installers that don't work? John Ames <commodorejohn@gmail.com> - 2025-10-15 15:11 -0700
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-16 02:27 -0400
Re: Fancy-smanchy installers that don't work? rbowman <bowman@montana.com> - 2025-10-16 07:22 +0000
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-17 22:24 -0400
Lazarus [Was: Fancy-smanchy installers that don't work?] "Carlos E.R." <robin_listas@es.invalid> - 2025-10-18 20:08 +0200
Re: Lazarus [Was: Fancy-smanchy installers that don't work?] c186282 <c186282@nnada.net> - 2025-10-19 04:15 -0400
Re: Lazarus [Was: Fancy-smanchy installers that don't work?] "Carlos E.R." <robin_listas@es.invalid> - 2025-10-19 13:46 +0200
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-16 04:36 +0000
Re: Fancy-smanchy installers that don't work? John Ames <commodorejohn@gmail.com> - 2025-10-16 10:29 -0700
Re: Fancy-smanchy installers that don't work? c186282 <c186282@nnada.net> - 2025-10-16 01:49 -0400
Re: Fancy-smanchy installers that don't work? John Ames <commodorejohn@gmail.com> - 2025-10-16 15:43 -0700
Re: Fancy-smanchy installers that don't work? candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-10-14 21:30 +0000
Re: Fancy-smanchy installers that don't work? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-14 22:11 +0000
Re: Fancy-smanchy installers that don't work? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-12 12:10 +0100
csiph-web