Groups | Search | Server Info | Login | Register


Groups > alt.lang.basic > #862

Re: Computer guesses your number

From Physfitfreak <Physfitfreak@gmail.com>
Newsgroups alt.lang.basic
Subject Re: Computer guesses your number
Date 2024-01-03 23:20 -0600
Message-ID <un5f71$o2v6$1@solani.org> (permalink)
References (4 earlier) <XnsB0E8EDA66DB89auricauricauricauric@135.181.20.170> <umno3r$ij1s$2@solani.org> <XnsB0EB7D2B32652auricauricauricauric@135.181.20.170> <un2hrq$o1sd$4@solani.org> <XnsB0EE913FBEF7Eauricauricauricauric@135.181.20.170>

Show all headers | View raw


On 1/3/2024 3:16 PM, Auric__ wrote:
> Physfitfreak wrote:
> 
>> On 12/31/2023 1:18 PM, Auric__ wrote:
>>> Compilation speed should not be something that determines your usage of
>>> a language, unless we're talking "hours" (or longer); runtime speed is
>>> far more important.
>>
>> Actually in my particular case it is the compilation speed that bothers
>> me, not the execution speed. In the course of writing the codes I have
>> to compile many many times to remove bugs and correct my mistakes, etc,
>> while after all issues are gone, I would have to wait just once for each
>> run of the executable file. There would be no hurry there.
>>
>> For a two line code in FreeBASIC, I have to wait 30 seconds for it to
>> compile and run... This is way too slow. Imagine when I want to write a
>> relatively involved program how many times and how long I have to wait
>> to do the troubleshooting.
> 
> That's... odd. What OS? What hardware?
> 
> I'm running Windows 10 Pro 22H2 on a 10-year-old Intel i5 @ 3.2 GHz, using
> the current release of FreeBASIC (1.10.1, released Xmas Eve), and this test
> program:
> 
>    dim a as long
>      for a = 1 to 255
>      print bin$(a),""
>    next
> 
> ...takes about 2-3 seconds to compile for both the 32-bit and 64-bit
> versions. The same goes for the DOS version under DOSBox-X. (I don't have it
> installed on other systems to check, but I imagine it would be about the
> same.) So, something must be... uh... "different" about your setup.
> 
> 
> As an aside, if I'm writing for a system like FreeBASIC that doesn't have a
> built-in interpreter or some fast way to do test runs, I usually write in a
> system that *does* -- often Qbasic or Chipmunk Basic -- and then when the
> program works, I make whatever edits are needed to make it work in my chosen
> system and *then* do the actual compile.
> 


Yes, I thought so too that something was wrong with my set up but I 
couldn't find what. My system is old also. I am using Win10 Enterprise 
64 bit on S20 ThinkStation (Xeon x5675, 20 gb RAM). I installed 
FreeBASIC 1.10.1-win64 and for GUI installed FBIde 0.4.6r4.

Wikipedia says FreeBASIC converts the code to C++ then compiles C++. I 
was thinking this conversion of code is what makes it take that long.

I'll try Qbasic to see how it goes.

Back to alt.lang.basic | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Computer guesses your number "F. W." <me@home.com> - 2023-03-29 15:27 +0200
  Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2023-12-26 19:28 -0600
    Re: Computer guesses your number "Auric__" <not.my.real@email.address> - 2023-12-27 23:17 +0000
      Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2023-12-27 18:37 -0600
        Re: Computer guesses your number "Auric__" <not.my.real@email.address> - 2023-12-29 06:21 +0000
          Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2023-12-29 18:26 -0600
            Re: Computer guesses your number "Auric__" <not.my.real@email.address> - 2023-12-31 19:18 +0000
              Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2024-01-02 20:47 -0600
                Re: Computer guesses your number Gordon Henderson <gordon+usenet@drogon.net> - 2024-01-03 15:17 +0000
                Re: Computer guesses your number "Auric__" <not.my.real@email.address> - 2024-01-03 21:16 +0000
                Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2024-01-03 23:20 -0600
                Re: Computer guesses your number "Auric__" <not.my.real@email.address> - 2024-01-04 22:09 +0000
                Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2024-01-05 20:41 -0600
                Re: Computer guesses your number "Auric__" <not.my.real@email.address> - 2024-01-06 19:30 +0000
                Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2024-01-07 16:41 -0600
                Re: Computer guesses your number "Auric__" <not.my.real@email.address> - 2024-01-08 03:21 +0000
                Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2024-01-26 19:03 -0600
                Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2024-01-26 23:16 -0600
                Re: Computer guesses your number "Auric__" <not.my.real@email.address> - 2024-01-27 05:41 +0000
  Re: Computer guesses your number Gordon Henderson <gordon+usenet@drogon.net> - 2023-12-30 21:32 +0000
    Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2023-12-30 20:20 -0600
      Re: Computer guesses your number Gordon Henderson <gordon+usenet@drogon.net> - 2023-12-31 08:02 +0000
        Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2024-01-02 20:07 -0600
          Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2024-01-02 20:35 -0600
            Re: Computer guesses your number Gordon Henderson <gordon+usenet@drogon.net> - 2024-01-03 15:10 +0000
              Re: Computer guesses your number Physfitfreak <Physfitfreak@gmail.com> - 2024-01-03 23:22 -0600

csiph-web