🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.programming
Article #217828

Re: mój obfuskator - problem projektowy

#217828
From: Maciek Godek
Date: Fri, 28 Oct 2022 09:32
29 lines
3354 bytes
piątek, 28 października 2022 o 11:18:00 UTC+2 heby napisał(a):
> On 28/10/2022 11:00, Maciek Godek wrote: 
> >> PHP nie jest podobny do C ani C++ z kilku fudamentalnych powodów. 
> > A może: pod pewnymi względami jest, a pod innymi nie jest?
> Tak. Ale dodałbym, że jest podobny pod względami mało istotnymi. 
> Wyglądu. Czyli "klamry".

Nie tylko klamry. Z C++ zapożyczył składnię deklarowania klas.
Semantyki może nie.

W każdym razie zgoda że podobieństwo jest raczej powierzchowne.


> > Co do zarządzania pamięcią, oto pmiętny cytat z Rasmusa Lerdorfa: 
> > "I'm not a real programmer. I throw together things until it works then I move on. The real programmers will say "Yeah it works but you're leaking memory everywhere. Perhaps we should fix that." I’ll just restart Apache every 10 requests."
> Czy ktoś tutaj napisał, że C/C++ ma lepsze/gorsze zarządzanie pamięcią? 
> Ma *INNE* od PHP. Podobieństwa praktycznie nie istnieją.

Jasne. Na tym polega podobieństwo: że pod jakimiś względami jest taki sam,
a pod innymi względami jest inny.

Gdyby pod każdym względem był taki sam, to nie byłby podobny, tylko identyczny.

Pod względem składni PHP i C są do siebie podobne.

Pod względem semantyki PHP jest bardziej podobny do Pythona, a C do Pascala.

Jak weźmiesz np. Lamborghini Diablo, i resoraka Lamborghini Diablo, to też będą do siebie podobne,
chociaż jeden z nich będzie dużo mniejszy i nie będzie nawet miał silnika.
Technical Details
Message-ID: <6a159c97-995c-4408-9cf8-d14faee45dd9n@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
References: <tj64ne$36qsg$3@portraits.wsisiz.edu.pl> <tj64rj$1mmv4$1@dont-email.me> <tj8epv$3afh$1@portraits.wsisiz.edu.pl> <tj8vg4$21ll8$2@dont-email.me> <tjabcs$t53e$2@portraits.wsisiz.edu.pl> <tjan0p$2drd6$1@dont-email.me> <tjb0ft$10mf6$1@portraits.wsisiz.edu.pl> <tjb0up$2eot6$1@dont-email.me> <tjb1g2$10mnn$2@portraits.wsisiz.edu.pl> <tjb2ee$2ep64$1@dont-email.me> <tjg379$2q700$1@portraits.wsisiz.edu.pl> <tjg38l$314k8$2@dont-email.me> <tjg3ua$2qa65$1@portraits.wsisiz.edu.pl> <tjg46f$314k8$3@dont-email.me> <e896216c-e3ca-4ec9-9903-8a33d43fcc00n@googlegroups.com> <tjg6o5$31ke4$1@dont-email.me>

Show Full Headers
Complete Article Headers
X-Received: by 2002:ad4:596b:0:b0:4b1:ee66:1cb8 with SMTP id eq11-20020ad4596b000000b004b1ee661cb8mr45024922qvb.3.1666949530853;        Fri, 28 Oct 2022 02:32:10 -0700 (PDT)
X-Received: by 2002:a05:6902:705:b0:6ca:a3b0:e7f with SMTP id k5-20020a056902070500b006caa3b00e7fmr29781854ybt.373.1666949530597; Fri, 28 Oct 2022 02:32:10 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: pl.comp.programming
Date: Fri, 28 Oct 2022 02:32:10 -0700 (PDT)
In-Reply-To: <tjg6o5$31ke4$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=85.14.70.66; posting-account=f7iIKQoAAAAkDKpUafc-4IXhmRAzdB5r
NNTP-Posting-Host: 85.14.70.66
References: <tj64ne$36qsg$3@portraits.wsisiz.edu.pl> <tj64rj$1mmv4$1@dont-email.me> <tj8epv$3afh$1@portraits.wsisiz.edu.pl> <tj8vg4$21ll8$2@dont-email.me> <tjabcs$t53e$2@portraits.wsisiz.edu.pl> <tjan0p$2drd6$1@dont-email.me> <tjb0ft$10mf6$1@portraits.wsisiz.edu.pl> <tjb0up$2eot6$1@dont-email.me> <tjb1g2$10mnn$2@portraits.wsisiz.edu.pl> <tjb2ee$2ep64$1@dont-email.me> <tjg379$2q700$1@portraits.wsisiz.edu.pl> <tjg38l$314k8$2@dont-email.me> <tjg3ua$2qa65$1@portraits.wsisiz.edu.pl> <tjg46f$314k8$3@dont-email.me> <e896216c-e3ca-4ec9-9903-8a33d43fcc00n@googlegroups.com> <tjg6o5$31ke4$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6a159c97-995c-4408-9cf8-d14faee45dd9n@googlegroups.com>
Subject: Re: mój obfuskator - problem projektowy
From: Maciek Godek <godek.maciek@gmail.com>
Injection-Date: Fri, 28 Oct 2022 09:32:10 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit