• Synchronet BBS Compiling

    From The Millionaire@VERT to All on Saturday, November 30, 2019 06:40:01
    When Synchronet is binarily compiled from C what language does it use? Is it Assembler?

    $ The Millionaire $

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to The Millionaire on Saturday, November 30, 2019 12:10:03
    Re: Synchronet BBS Compiling
    By: The Millionaire to All on Sat Nov 30 2019 06:40 am

    When Synchronet is binarily compiled from C what language does it use? Is it Assembler?

    I'm not sure I understand your question. As far as I know, Synchronet is primarily written in C++. I'm not sure if there is any assembler written by Digital Man in the Synchronet code base. But as any compiled program, it gets compiled into a binary executable and the DLLs, which all contain machine language, and you could see the instructions in assembly language at that point.

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
  • From Gamgee@VERT/PALANT to The Millionaire on Saturday, November 30, 2019 20:38:00
    The Millionaire wrote to All <=-

    When Synchronet is binarily compiled from C what language does it
    use?

    Ummmmmmmm....... C.

    Is it Assembler?

    No. It's C (and C++).


    ... He does the work of 3 Men...Moe, Larry & Curly
    --- MultiMail/Linux v0.52
    Synchronet Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From The Millionaire@VERT to Gamgee on Saturday, November 30, 2019 19:37:42
    C++ can run like machine language? No program cannot run efficiently like machine language can.

    $ The Millionaire $

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to The Millionaire on Saturday, November 30, 2019 22:47:06
    Re: Re: Synchronet BBS Compiling
    By: The Millionaire to Gamgee on Sat Nov 30 2019 07:37 pm

    C++ can run like machine language? No program cannot run efficiently like machine language can.

    I've often heard it said that hand-optimized assembly code can run faster than code compiled from a higher-level language like C or C++. But compilers have optimizations, and I've heard that modern compilers these days are pretty good at generating machine code that's as optimal as possible from the source language.

    Are you going to want to write all your software in assembly language? ;)

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
  • From The Millionaire@VERT to Nightfox on Sunday, December 01, 2019 03:43:55
    Re: Re: Synchronet BBS Compiling
    By: The Millionaire to Gamgee on Sat Nov 30 2019 07:37 pm

    I've often heard it said that hand-optimized assembly code can run faster than code compiled from a higher-level language like C or C++. But compilers have optimizations, and I've heard that modern compilers these days are pretty good at generating machine code that's as optimal as possible from the source language.

    Are you going to want to write all your software in assembly language? ;)

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com


    In the olden days most software was written in Assembler. It was the standard back then for all the commercial games and whatnot.

    $ The Millionaire $

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Gamgee@VERT/PALANT to The Millionaire on Sunday, December 01, 2019 07:59:00
    The Millionaire wrote to Gamgee <=-

    C++ can run like machine language? No program cannot run
    efficiently like machine language can.

    <sigh> Since you (again) didn't bother to quote anything when you
    replied, it's difficult to remember what you're referring to. I
    guess it's about your question regarding what "language"
    Synchronet is compiled in. The question itself makes no sense.
    The program(s) are written in C and/or C++. They are then
    compiled by a compiler for that language, and produce executable
    files. Even a program written in Assembler is compiled by a
    compiler for that language. I don't think you actually understand
    this.

    Please remember to quote some context when you write replies to
    messages.



    ... He does the work of 3 Men...Moe, Larry & Curly
    --- MultiMail/Linux v0.52
    Synchronet Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Nightfox@VERT/DIGDIST to The Millionaire on Sunday, December 01, 2019 12:03:08
    Re: Re: Synchronet BBS Compiling
    By: The Millionaire to Nightfox on Sun Dec 01 2019 03:43 am

    In the olden days most software was written in Assembler. It was the standard back then for all the commercial games and whatnot.

    Yes, in the early days of computers. But soon, higher level programming languages like COBOL and FORTRAN came out. I think those are a couple of the oldest programming languages I know of.

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
  • From Netsurge@VERT to Nightfox on Sunday, December 01, 2019 21:49:46
    Are you going to want to write all your software in assembly language? ;)

    I'd pay to see that code.

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://scinet-ftn.org

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (1:229/101)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Gamgee on Sunday, December 01, 2019 20:48:40
    Re: Re: Synchronet BBS Compiling
    By: Gamgee to The Millionaire on Sun Dec 01 2019 07:59 am

    files. Even a program written in Assembler is compiled by a
    compiler for that language. I don't think you actually understand
    this.

    I once said something similar to one of my assembly instructors in college, and he corrected me saying an assembly program is "assembled" rather than being compiled. I think compiling refers to the process of converting a higher-level language (such as C/C++ etc.) into machine code, and assembly is already pretty much machine code.

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
  • From Dan Clough@VERT to Nightfox on Monday, December 02, 2019 08:24:00
    Nightfox wrote to Gamgee <=-

    files. Even a program written in Assembler is compiled by a
    compiler for that language. I don't think you actually understand
    this.

    I once said something similar to one of my assembly instructors
    in college, and he corrected me saying an assembly program is
    "assembled" rather than being compiled. I think compiling refers
    to the process of converting a higher-level language (such as
    C/C++ etc.) into machine code, and assembly is already pretty
    much machine code.

    Absolutely correct. I think I was subconsciously over-simplifying
    things in an attempt to get 'TM' to grasp it.

    Full disclosure on my programming skill set - the last time I was
    actually semi-seriously (hobby-level) programming, I was using
    Borland's Turbo Pascal in MSDOS... :-) But I do know that
    Borland also made a product called Turbo ASM.



    ... Windows 3.1 - From the people who brought you EDLIN.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.10-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:123/115)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From The Millionaire@VERT to Dan Clough on Tuesday, December 03, 2019 20:44:13
    Absolutely correct. I think I was subconsciously over-simplifying
    things in an attempt to get 'TM' to grasp it.

    Full disclosure on my programming skill set - the last time I was
    actually semi-seriously (hobby-level) programming, I was using
    Borland's Turbo Pascal in MSDOS... :-) But I do know that
    Borland also made a product called Turbo ASM.

    ... Windows 3.1 - From the people who brought you EDLIN.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.10-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:123/115)



    Turbo Pascal is what Windows is written with.

    $ The Millionaire $

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rampage@VERT/SESTAR to The Millionaire on Wednesday, December 04, 2019 08:04:43
    Re: Re: Synchronet BBS Compiling
    By: The Millionaire to Dan Clough on Tue Dec 03 2019 20:44:13


    Turbo Pascal is what Windows is written with.

    not by a long shot... especially since billG and partners develop(ed) their own implementations of various high level languages...


    )\/(ark

    ---
    Synchronet The SouthEast Star Mail HUB - SESTAR
  • From Dan Clough@VERT to The Millionaire on Wednesday, December 04, 2019 07:34:00
    The Millionaire wrote to Dan Clough <=-

    Absolutely correct. I think I was subconsciously over-simplifying
    things in an attempt to get 'TM' to grasp it.

    Full disclosure on my programming skill set - the last time I was
    actually semi-seriously (hobby-level) programming, I was using
    Borland's Turbo Pascal in MSDOS... :-) But I do know that
    Borland also made a product called Turbo ASM.

    Turbo Pascal is what Windows is written with.

    Ummmmmmm...... No.

    It is C (and variants), with some Assembly.

    https://social.microsoft.com/Forums/en-US/65a1fe05-9c1d-48bf-bd40-148e6b3da9f1/what-programming-language-is-windows-written-in?forum=windowshpcacademic



    ... Windows 3.1 - From the people who brought you EDLIN.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.10-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:123/115)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net