Ubaid Shaikh activity https://gitlab.com/ubaidsk 2024-05-03T00:31:28Z tag:gitlab.com,2024-05-03:3337193860 Ubaid Shaikh deleted project branch add_links at Ubaid Shaikh / www.lfortran.org 2024-05-03T00:31:28Z ubaidsk Ubaid Shaikh

Ubaid Shaikh (ba45f9d2) at 03 May 00:31

tag:gitlab.com,2024-05-02:3336942415 Ubaid Shaikh opened merge request !129: Add Fortran Discourse and Twitter Links at lfortran / web / www.lfortran.org 2024-05-02T20:50:03Z ubaidsk Ubaid Shaikh
tag:gitlab.com,2024-05-02:3336942153 Ubaid Shaikh pushed new project branch add_links at Ubaid Shaikh / www.lfortran.org 2024-05-02T20:49:51Z ubaidsk Ubaid Shaikh

Ubaid Shaikh (ba45f9d2) at 02 May 20:49

Add Fortran Discourse and Twitter Links

... and 115 more commits

tag:gitlab.com,2024-05-02:3336885511 Ubaid Shaikh deleted project branch add_blog_post at Ubaid Shaikh / www.lfortran.org 2024-05-02T20:13:21Z ubaidsk Ubaid Shaikh

Ubaid Shaikh (ec6f5958) at 02 May 20:13

tag:gitlab.com,2024-05-02:3336728944 Ubaid Shaikh opened merge request !128: Add blog post titled `Fortran On Web Using LFortran` at lfortran / web / www.lfortran.org 2024-05-02T18:52:36Z ubaidsk Ubaid Shaikh
tag:gitlab.com,2024-05-02:3336727069 Ubaid Shaikh pushed new project branch add_blog_post at Ubaid Shaikh / www.lfortran.org 2024-05-02T18:51:26Z ubaidsk Ubaid Shaikh

Ubaid Shaikh (c31c338c) at 02 May 18:51

Enable rendering html in markdown

... and 112 more commits

tag:gitlab.com,2023-10-31:2941757386 Ubaid Shaikh deleted project branch update_main_webpage at Ubaid Shaikh / www.lfortran.org 2023-10-31T16:18:48Z ubaidsk Ubaid Shaikh

Ubaid Shaikh (0f59d83e) at 31 Oct 16:18

tag:gitlab.com,2023-10-31:2941738328 Ubaid Shaikh pushed to project branch update_main_webpage at Ubaid Shaikh / www.lfortran.org 2023-10-31T16:11:55Z ubaidsk Ubaid Shaikh

Ubaid Shaikh (0f59d83e) at 31 Oct 16:11

Remove extra heading in dftatom blog

... and 7 more commits

tag:gitlab.com,2023-10-31:2941730846 Ubaid Shaikh pushed to project branch update_main_webpage at Ubaid Shaikh / www.lfortran.org 2023-10-31T16:09:23Z ubaidsk Ubaid Shaikh

Ubaid Shaikh (025b977c) at 31 Oct 16:09

Remove extra heading in dftatom blog

tag:gitlab.com,2023-10-31:2941716392 Ubaid Shaikh opened merge request !116: Update LFortran main webpage at lfortran / web / www.lfortran.org 2023-10-31T16:05:02Z ubaidsk Ubaid Shaikh

Create a separate section for Progress towards beta

tag:gitlab.com,2023-10-31:2941714380 Ubaid Shaikh pushed new project branch update_main_webpage at Ubaid Shaikh / www.lfortran.org 2023-10-31T16:04:31Z ubaidsk Ubaid Shaikh

Ubaid Shaikh (e5fe3c75) at 31 Oct 16:04

Add link to dftatom blog

... and 76 more commits

tag:gitlab.com,2023-10-31:2941646347 Ubaid Shaikh commented on merge request !111 at lfortran / web / www.lfortran.org 2023-10-31T15:41:15Z ubaidsk Ubaid Shaikh
![](https://lfortran.org/blog/images/dependency_graph.png)
tag:gitlab.com,2023-10-31:2941634271 Ubaid Shaikh commented on merge request !111 at lfortran / web / www.lfortran.org 2023-10-31T15:37:37Z ubaidsk Ubaid Shaikh
On this particular benchmark, platform and compiler versions, LFortran is about 2.1x faster to compile. A significant amount of LFortran's total compilation time is spent in LLVM (which in Debug mode just emits a binary with no optimizations), so our plan is to experiment with a custom faster backend for Debug builds to speedup compilation even further.
tag:gitlab.com,2023-10-31:2941624616 Ubaid Shaikh commented on merge request !111 at lfortran / web / www.lfortran.org 2023-10-31T15:34:46Z ubaidsk Ubaid Shaikh

Is the sentence "You can read more information and link to an article explaining how it works in the README, see the project link above" perfect?

tag:gitlab.com,2023-09-06:2823984951 Ubaid Shaikh commented on merge request !108 at lfortran / web / www.lfortran.org 2023-09-06T16:34:13Z ubaidsk Ubaid Shaikh

@certik I was thinking about this list. I'd like to suggest listing me after Gagandeep because I deeply respect and look up to him. He has been a source of inspiration and guidance. I admire both Gagandeep and you (and also other members of the team). What do you think about this change? Thanks!

tag:gitlab.com,2023-09-06:2823943033 Ubaid Shaikh opened merge request !108: Minor improvement at lfortran / web / www.lfortran.org 2023-09-06T16:15:10Z ubaidsk Ubaid Shaikh
tag:gitlab.com,2023-09-06:2823925263 Ubaid Shaikh pushed new project branch minor_impr at Ubaid Shaikh / www.lfortran.org 2023-09-06T16:07:46Z ubaidsk Ubaid Shaikh

Ubaid Shaikh (3a9f7934) at 06 Sep 16:07

Place after czgdp

... and 64 more commits

tag:gitlab.com,2023-05-02:2564962277 Ubaid Shaikh commented on merge request !97 at lfortran / web / www.lfortran.org 2023-05-02T13:28:22Z ubaidsk Ubaid Shaikh

mentioned the number of integration and reference tests we currently have with each backend. I haven't removed the TODO so that you can verify it once.

The number of tests for wasm and julia look correct as per the current lfortran main branch. The number of wat reference tests is 27 (obtained by running ./run_tests.py -b wat and then searching for substring START TEST:

For llvm, it seems we have 416 integration_tests (I obtained this count by running ./integration_tests/run_tests.py -b llvm) and 143 reference tests (count obtained by running ./run_tests.py -b llvm and then searching for substring START TEST:)

For wasm_x64, we currently have 23 integration_tests at lpython.

For cpp, from CMakeLists.txt, it seems we have 52 integration_tests. Also, from ./run_tests.py -b cpp, it seems we have 31 reference tests.

PS: The above tests information only includes the tests present in integration_tests and tests.toml. It does not include/count the tests present in src/lfortran/tests (I am unsure if we should include them).

tag:gitlab.com,2022-08-14:2054627335 Ubaid Shaikh commented on issue #771 at lfortran / lfortran 2022-08-14T13:23:40Z ubaidsk Ubaid Shaikh

I created an issue about it at #773

tag:gitlab.com,2022-08-14:2054627074 Ubaid Shaikh opened issue #773: WAT: Bug in function number at lfortran / lfortran 2022-08-14T13:23:11Z ubaidsk Ubaid Shaikh

Code:

program test_c_interface
    integer  , parameter :: i_max    =  600
    integer  , parameter :: j_max    =  450
    integer :: image_t(j_max, i_max)
    interface
        subroutine show_img(n, m, A) bind(c)
        integer, intent(in) :: n, m
        integer, intent(in) :: A(3,n,m)
        end subroutine
    end interface

    call show_img(j_max, i_max, image_t)

end program mandelbrot

output:

$ lfortran --show-wat b.f90
(module
    (type (;0;) (func (param i32) (result)))
    (type (;1;) (func (param i64) (result)))
    (type (;2;) (func (param f32) (result)))
    (type (;3;) (func (param f64) (result)))
    (type (;4;) (func (param i32 i32) (result)))
    (type (;5;) (func (param) (result)))
    (type (;6;) (func (param i32) (result)))
    (type (;7;) (func (param i32 i32 i32) (result)))
    (type (;8;) (func (param) (result)))
    (import "js" "print_i32" (func (;0;) (type 0)))
    (import "js" "print_i64" (func (;1;) (type 1)))
    (import "js" "print_f32" (func (;2;) (type 2)))
    (import "js" "print_f64" (func (;3;) (type 3)))
    (import "js" "print_str" (func (;4;) (type 4)))
    (import "js" "flush_buf" (func (;5;) (type 5)))
    (import "js" "set_exit_code" (func (;6;) (type 6)))
    (import "js" "memory" (memory (;0;) 100 100))
    (import "js" "show_img" (func (;8;) (type 7)))
    (func $8 (type 8) (param) (result)
        (local i32 i32 i32)
        i32.const 600
        local.set 0
        i32.const 0
        local.set 1
        i32.const 450
        local.set 2
        local.get 2
        local.get 0
        local.get 1
        call 7
        i32.const 0
        call 6
        return
    )
    (export "_lcompilers_main" (func $8))
)

Bug: We should have (import "js" "show_img" (func (;7;) (type 7)) with 7 instead of 8,